Hi mpf_trunc is driving me mad...

Torbjorn Granlund tg at gmplib.org
Fri Nov 25 09:51:23 CET 2011


Carlos Torres <torresc at gmail.com> writes:

  Hi mpf_trunc is driving me mad...
  
  ... mpf_trunc in aix with gmp-5.0.2 is not working. Or there is something i
  am missing
  
  when i try to mpf_trunc a number like 1415 instead of doing nothing trunc
  is decrementing the original number
  
I recommend a search using your favourite search engine using these
words: binary floating point surprises

(Explanations of binary floating point is out-of-bounds on this bug
reporting list.)

-- 
Torbjörn


More information about the gmp-bugs mailing list