mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-12 14:31:28 +00:00
Builtins rewrite with type parameter inference; Small integer math optimizations; Switchify
This commit is contained in:
@ -196,3 +196,15 @@ function isWhiteSpaceOrLineTerminator(c: u16): bool {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// @global
|
||||
// @binding(CALL, [ STRING, PASS_THRU ], PASS_THRU)
|
||||
export function parseInt(str: string, radix: i32 = 10): f64 {
|
||||
throw new Error("not implemented");
|
||||
}
|
||||
|
||||
// @global
|
||||
// @binding(CALL, [ STRING ], PASS_THRU)
|
||||
export function parseFloat(str: string): f64 {
|
||||
throw new Error("not implemented");
|
||||
}
|
||||
|
Reference in New Issue
Block a user