[prev in list] [next in list] [prev in thread] [next in thread]
List: gmp-discuss
Subject: How To calculate/display large float numbers?
From: bodrato () mail ! dm ! unipi ! it (Marco Bodrato)
Date: 2016-11-29 4:54:08
Message-ID: 1e8503debcba3b907204c33b38db03fb.squirrel () student-web1 ! dm ! unipi ! it
[Download RAW message or body]
Ciao,
Il Dom, 27 Novembre 2016 3:55 pm, Torbj?rn Granlund ha scritto:
> Marc Glisse <marc.glisse at inria.fr> writes:
> On Sun, 27 Nov 2016, Torbj?rn Granlund wrote:
>
> > (Allowing floating-point input strings would be a conceivable
> extension
> > here, since any finite string corresponds to a rational number.)
> Perhaps this works:
> 3. Compute g = gcd(a',b') and let the result be a/b where a = a'/g and
> b = b'/g.
I'd delegate the canonicalization to mpq_canonicalize :-)
Best regards,
m
--
http://bodrato.it/papers/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic