Changeset 3d9b5da for src/libcfa/rational
- Timestamp:
- Apr 7, 2016, 5:35:36 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 224e52f, 630a82a
- Parents:
- 53ba273
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/libcfa/rational ¶
r53ba273 r3d9b5da 10 10 // Created On : Wed Apr 6 17:56:25 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Apr 6 21:51:42201613 // Update Count : 812 // Last Modified On : Thu Apr 7 17:23:36 2016 13 // Update Count : 9 14 14 // 15 15 16 #include <fstream>16 #include "iostream" 17 17 18 18 struct Rational { … … 44 44 double widen( Rational r ); 45 45 Rational narrow( double f, long int md ); 46 ifstream * ?|?( ifstream *is, Rational *r);47 ofstream * ?|?( ofstream *os, Rational r);46 forall( dtype istype | istream( istype ) ) istype * ?|?( istype *, Rational * ); 47 forall( dtype ostype | ostream( ostype ) ) ostype * ?|?( ostype *, Rational ); 48 48 49 49 // Local Variables: //
Note: See TracChangeset
for help on using the changeset viewer.