Changeset 57e94c4 in git
- Timestamp:
- Nov 15, 1999, 5:22:50 PM (24 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 416465cfca65379c427648bc9a35bc331345a29f
- Parents:
- d9909c94593c093ae99a6b1884d5343aba29fbb3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/gnumpfl.cc
rd9909c9 r57e94c4 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: gnumpfl.cc,v 1.1 1 1999-09-16 12:33:56 SingularExp $ */4 /* $Id: gnumpfl.cc,v 1.12 1999-11-15 16:22:50 pohl Exp $ */ 5 5 /* 6 6 * ABSTRACT: computations with GMP floating-point numbers … … 259 259 return; 260 260 } 261 262 261 ngfPower(x,exp-1,u); 263 262 … … 265 264 *n=*(gmp_float*)x; 266 265 *(gmp_float*)(*u) *= *(gmp_float*)n; 267 266 delete (gmp_float*)n; 268 267 } 269 268 … … 294 293 if ( b==NULL ) 295 294 { 296 return (((gmp_float*)a)->sign() <0);295 return (((gmp_float*)a)->sign() > 0); 297 296 } 298 297 return ( (*(gmp_float*)a) > (*(gmp_float*)b) );
Note: See TracChangeset
for help on using the changeset viewer.