rtl: changed PI to const

This commit is contained in:
mattias 2018-10-22 09:07:20 +00:00
parent fd98459d58
commit 8fe2017c52

View File

@ -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)