[Cfp-interest 2750] Re: about FLT_TRUE_MIN and DBL_TRUE_MIN in 5.2.4.2.2p29 example

Vincent Lefevre vincent at vinc17.net
Tue Apr 4 05:44:51 PDT 2023


On 2023-04-04 14:03:48 +0200, Vincent Lefevre wrote:
> N3096 5.2.4.2.2p29 is an example with FLT_TRUE_MIN and DBL_TRUE_MIN
> definitions, in particular:
> 
>   FLT_TRUE_MIN  1.40129846E-45F // decimal constant
>   DBL_TRUE_MIN  4.9406564584124654E-324 // decimal constant
> 
> But since these are the minimum positive subnormals, one could use
> only one decimal digit.

Actually, due to FLT_EVAL_METHOD, one may need more digits than
those provided above (see my other message Cfp-interest 2748).

-- 
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 Cfp-interest mailing list