Sign in Join
FPDoc Onlineexperiment

Float type

In unit Math

Float type used in all calls.

Declaration

pascal
Float = MaxFloatType

Description

All calculations are done with the Float type which is the largest float type available for the current CPU. This allows to recompile the unit with a different float type to obtain a desired precision. The pointer type PFloat is used in functions that accept an array of values of arbitrary length.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.