[fpc-pascal] Numbers longer than double-precision

Sven Barth pascaldragon at googlemail.com
Mon Nov 7 16:13:06 CET 2011


Am 07.11.2011 12:49, schrieb Ko Hashiguchi:
> Sirs,
>
> Does Free Pascal have any options for operating on numbers longer than
> double-precision? If quad-precision is available, how can it be had? Can
> one find-obtain-buy libraries that can extend this ability to the Pascal
> language? Any info. you can post would be appreciated.

Once the softfpu unit ($fpcdir/rtl/inc/softfpu.pp) is finished this will 
be possible. But AFAIK no one is currently working on that.

On x86 platforms you can also use the type "Extended" which is a 80-bit 
floating point type (it maps to "Double" on other platforms).

Regards,
Sven




More information about the fpc-pascal mailing list