The way how I create my mpf_class effects the result after a arithmetic operation
H8H
h8h at dev-nu11.de
Tue Jan 27 14:59:34 UTC 2015
Hi,
what's the differents between creating a mpf_class with a float/double
or a string (char*)?
I figured out that the way how I create the mpf_class effects the result
after an arithmetic operation. But why and why isn't it documentated?
I attached an example to show how the results differ.
Am I doing it wrong or is something fishy with the mpf_class?
Cheers
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpf_test.cpp
Type: text/x-c++src
Size: 1515 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-discuss/attachments/20150127/3a35fa05/attachment.bin>
More information about the gmp-discuss
mailing list