Changeset 47174c4 for libcfa/src
- Timestamp:
- Nov 11, 2024, 10:37:36 PM (2 days ago)
- Branches:
- master
- Children:
- 00f89a6, 1b56a7f
- Parents:
- 2295320
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/rational.cfa
r2295320 r47174c4 10 10 // Created On : Wed Apr 6 17:54:28 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Nov 8 17:00:38202413 // Update Count : 20 512 // Last Modified On : Mon Nov 11 22:37:12 2024 13 // Update Count : 206 14 14 // 15 15 … … 211 211 212 212 forall( T | arithmetic( T ) | { T ?\?( T, unsigned long ); } ) { 213 rational(T) ?\?( rational(T) x, long int y ) {213 rational(T) ?\?( rational(T) x, long int y ) { 214 214 if ( y < 0 ) { 215 215 return (rational(T)){ x.denominator \ -y, x.numerator \ -y };
Note: See TracChangeset
for help on using the changeset viewer.