[fpc-pascal]How to find out the TFloatType digits

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 27 12:26:16 CET 2003


Hi,

When using RTTI, I sometimes need to know the decimal precisions of a
TFloatType. For example
ftSingle = 8
ftDouble = 16
...

Is there a simple way to get this?
If not: Is it possible to add an array or function to typinfo.pp with some
info (e.g. bits for mantissa, bits for exponential, signed) about
floattypes?

Regards,
Mattias



More information about the fpc-pascal mailing list