convert mpf t to double with rounding-modes defined by ieee754
Sisyphus
sisyphus1 at optusnet.com.au
Sat Jul 30 04:12:10 CEST 2005
----- Original Message -----
From: <usenett at gmx.de>
To: <gmp-discuss at swox.com>
Sent: Saturday, July 30, 2005 1:23 AM
Subject: convert mpf t to double with rounding-modes defined by ieee754
> Hi,
>
> I want to write a function of converting mpf_t-variables to doubles by a
> given rounding mode (to-nearest, truncation, plus infinity, minus
infinity)
> defined by the IEEE754 standard.
>
See: http://www.mpfr.org/
Conversion from mpf_t to mpfr_t is very straightforward.
Cheers,
Rob
More information about the gmp-discuss
mailing list