mpn_sqrtrem{1,2}

Vincent Lefevre vincent at vinc17.net
Sun Mar 26 00:26:15 UTC 2017


On 2017-03-16 14:45:58 +0100, Torbjörn Granlund wrote:
> nisse at lysator.liu.se (Niels Möller) writes:
> 
>   I think the "long double" type means an 80-bit floating point format
>   which was implemented in the original 80387 floating point coprocessor.
>   And which isn't supported by the later x86 SIMD instructions (and not
>   supported at all on on non-x86 platforms, as far as I'm aware).
>   
> It is presumably the same as plain double almost everywhere.

The long double format depends on the platform. There are at least
4 possible formats (see our Handbook of Floating-Point Arithmetic,
or <https://en.wikipedia.org/wiki/Long_double>).

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-devel mailing list