mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 18:30:32 +02:00
* Add constants cPI and friends, for delphi compatibility
This commit is contained in:
parent
a04d2b59f6
commit
d6cf3c98d0
@ -531,6 +531,13 @@ type
|
||||
end;
|
||||
{$endif}
|
||||
|
||||
Const
|
||||
cPI: Single = 3.141592654;
|
||||
cPIdiv180: Single = 0.017453292;
|
||||
cPIdiv2: Single = 1.570796326;
|
||||
cPIdiv4: Single = 0.785398163;
|
||||
|
||||
|
||||
implementation
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
|
Loading…
Reference in New Issue
Block a user