mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-23 06:49:26 +02:00
rtl: changed PI to const
This commit is contained in:
parent
fd98459d58
commit
8fe2017c52
@ -220,7 +220,7 @@ function ParamStr(Index: Longint): String;
|
||||
{*****************************************************************************
|
||||
Math
|
||||
*****************************************************************************}
|
||||
var // ToDo: make these const
|
||||
const
|
||||
PI: Double; external name 'Math.PI';
|
||||
MathE: Double; external name 'Math.E'; // Euler's number
|
||||
MathLN10: Double; external name 'Math.LN10'; // ln(10)
|
||||
|
Loading…
Reference in New Issue
Block a user