mirror of
https://github.com/irmen/prog8.git
synced 2026-04-20 11:17:01 +00:00
implement sqrt(long)
This commit is contained in:
@@ -85,7 +85,7 @@ Math
|
||||
|
||||
:index:`sqrt` (x)
|
||||
Returns the square root of the number.
|
||||
Accepts unsigned integer (result is ubyte), long (result is uword, but this may not be implemented on all targets), and floating point numbers.
|
||||
Accepts unsigned integer (result is ubyte), long (result is uword), and floating point numbers.
|
||||
To do the reverse - squaring a number - just write ``x*x``.
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
TODO
|
||||
====
|
||||
|
||||
- FSignature.callConvention should not pass long via R14R15
|
||||
- func_sign_l_r14r15_into_A should not take the long in r14r15 but in regular parameter like sqrt_long
|
||||
|
||||
|
||||
|
||||
Known bugs:
|
||||
- fix chained aliasing errors see test "chained aliasing"
|
||||
- fix crash in ir loader/vm for deeply nested symbol reference, see test "deeply scoped variable references"
|
||||
|
||||
Reference in New Issue
Block a user