Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2017-12

Math.MinExtended value

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bart

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

Reply by email

Vojtěch Čihák

Hi, it seems you are right: https://en.wikipedia.org/wiki/Extended_precision#Working_range  
V.
______________________________________________________________

Show quoted text 5 lines
Od: Bart Komu: FPC-Pascal users discussions 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

Reply by email