mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-28 20:30:12 +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
|
Math
|
||||||
*****************************************************************************}
|
*****************************************************************************}
|
||||||
var // ToDo: make these const
|
const
|
||||||
PI: Double; external name 'Math.PI';
|
PI: Double; external name 'Math.PI';
|
||||||
MathE: Double; external name 'Math.E'; // Euler's number
|
MathE: Double; external name 'Math.E'; // Euler's number
|
||||||
MathLN10: Double; external name 'Math.LN10'; // ln(10)
|
MathLN10: Double; external name 'Math.LN10'; // ln(10)
|
||||||
|
Loading…
Reference in New Issue
Block a user