[fpc-pascal] Math.MinExtended value

Vojtěch Čihák vojtech.cihak at atlas.cz
Fri Dec 15 01:45:24 CET 2017


Hi, it seems you are right: https://en.wikipedia.org/wiki/Extended_precision#Working_range
 
V.
______________________________________________________________
> Od: Bart <bartjunk64 at gmail.com>
> Komu: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
> Datum: 14.12.2017 23:51
> Předmět: [fpc-pascal] Math.MinExtended value
>
Hi,
 
 I was playing a bit with floating point types when I noticed this discrepancy:
 
 From math.pp
 
 {$ifdef FPC_HAS_TYPE_EXTENDED}
    const
      MinExtended  =  3.4e-4932;
      MaxExtended  =  1.1e+4932;
 {$endif FPC_HAS_TYPE_EXTENDED}
 
 From fpc reference guide:
 Extended 1.9E-4932 .. 1.1E4932
 
 3.64519953188247460253E-4951 seems to be the lowest value I can get
 while testing (Win 32 bit).
 
 What's up with that?
 
 Bart
 _______________________________________________
 fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
 http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal <http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20171215/cbefe69f/attachment.html>


More information about the fpc-pascal mailing list