Changeset d3e4d6c for src/tests/rational.c
- Timestamp:
- Aug 23, 2017, 6:22:07 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 87e08e24, cb811ac
- Parents:
- 9f07232 (diff), bd37119 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/rational.c
r9f07232 rd3e4d6c 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 6 // 7 7 // rational.c -- test rational number package 8 // 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Mon Mar 28 08:43:12 2016 … … 12 12 // Last Modified On : Wed May 17 15:46:35 2017 13 13 // Update Count : 65 14 // 14 // 15 15 16 16 #include <rational> … … 20 20 21 21 // UNNECESSARY, FIX ME 22 void ?{}( int * this ) { *this = 0; }23 void ?{}( int * this, zero_t ) { *this = 0; }24 void ?{}( int * this, one_t ) { *this = 1; }22 void ?{}( int & this ) { this = 0; } 23 void ?{}( int & this, zero_t ) { this = 0; } 24 void ?{}( int & this, one_t ) { this = 1; } 25 25 double convert( int i ) { return (double)i; } 26 26 int convert( double d ) { return (int)d; }
Note:
See TracChangeset
for help on using the changeset viewer.