Changes in libcfa/src/rational.cfa [ff2a33e:65240bb]
- File:
-
- 1 edited
-
libcfa/src/rational.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/rational.cfa
rff2a33e r65240bb 10 10 // Created On : Wed Apr 6 17:54:28 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 12 1 8:12:08201913 // Update Count : 18 412 // Last Modified On : Fri Jul 12 12:02:36 2019 13 // Update Count : 183 14 14 // 15 15 … … 35 35 static RationalImpl simplify( RationalImpl & n, RationalImpl & d ) { 36 36 if ( d == (RationalImpl){0} ) { 37 abort | "Invalid rational number construction: denominator cannot be equal to 0.";37 abort( "Invalid rational number construction: denominator cannot be equal to 0.\n" ); 38 38 } // exit 39 39 if ( d < (RationalImpl){0} ) { d = -d; n = -n; } // move sign to numerator
Note:
See TracChangeset
for help on using the changeset viewer.