blob: 22e9d6e7eb2a43e8326079e306c4bb3027eba670 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Probably many bugs.
Known bugs:
* The overflows/underflows are not yet implemented in all functions.
* Possible integer overflows on some machines.
* mpfr_set_d may give wrong results on some architectures.
* Rounding of pow() is not always correct. Examples of the form x^(-0.5):
_ x = 1.00000000001010111110001111011e1, GMP_RNDN
Got 1.01101001111010101110000101110e-1 instead of
1.01101001111010101110000101111e-1
_ x = 1.11111100100001100101, GMP_RNDZ
Got 1.01101011010001100000e-1 instead of
1.01101011010001100001e-1
Potential bugs:
* get_str.c: condition len != n + 1 is always satisfied at the end.
This means that there are too many reallocations (possibly useless
ones) and a possible bug.
|