Gen7Data/Scripts/Interfaces/globals.astypedef

35 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-10-23 12:20:18 +00:00
func string formatInt(int64 val, const string&in options = "", uint width = 0);
func string formatUInt(uint64 val, const string&in options = "", uint width = 0);
func string formatFloat(double val, const string&in options = "", uint width = 0, uint precision = 0);
func int64 parseInt(const string&in, uint base = 10, uint&out byteCount = 0);
func uint64 parseUInt(const string&in, uint base = 10, uint&out byteCount = 0);
func double parseFloat(const string&in, uint&out byteCount = 0);
2022-02-12 13:28:05 +00:00
func float fpFromIEEE(uint);
func uint fpToIEEE(float);
func double fpFromIEEE(uint64);
func uint64 fpToIEEE(double);
func bool closeTo(float, float, float = 0.00001f);
func bool closeTo(double, double, double = 0.0000000001);
func float cos(float);
func float sin(float);
func float tan(float);
func float acos(float);
func float asin(float);
func float atan(float);
func float atan2(float, float);
func float cosh(float);
func float sinh(float);
func float tanh(float);
func float log(float);
func float log10(float);
func float pow(float, float);
func float sqrt(float);
func float ceil(float);
func float abs(float);
func float floor(float);
func float fraction(float);
2021-10-23 12:20:18 +00:00
func void print(const string&in);
func void print(const constString&in);
func void throw(const string&in);
func string getExceptionInfo();