mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-11 11:55:02 -05:00
Simba/PS: Add Log10.
This commit is contained in:
parent
3ba8059c66
commit
e7bd74c271
@ -326,3 +326,8 @@ function DecRet(e: Extended): Extended; extdecl;
|
||||
begin
|
||||
result := e - Trunc(e);
|
||||
end;
|
||||
|
||||
function ps_log10(f: Extended): Extended; extdecl;
|
||||
begin
|
||||
result := log10(f);
|
||||
end;
|
||||
|
@ -84,6 +84,7 @@ AddFunction(@ps_BinCoe,'function BinCoe(a, b: LongInt): Extended;');
|
||||
AddFunction(@ps_FixD,'function FixD(Degrees : extended) : Extended;');
|
||||
AddFunction(@ps_InRange,'function InRange(const value,min,max : integer) : boolean;');
|
||||
AddFunction(@ps_logn,'function logn(base, x : extended): extended;');
|
||||
AddFunction(@ps_log10,'function log10(f : extended): extended;');
|
||||
AddFunction(@ps_ln,'function ln(x : extended) : extended;');
|
||||
AddFunction(@ps_inttohex,'function IntToHex(number : integer) : string');
|
||||
AddFunction(@ps_hextoint,'function HexToInt(Hex : string) : integer');
|
||||
|
Loading…
Reference in New Issue
Block a user