Closed GoogleCodeExporter closed 9 years ago
... more ...
int mod (X, Y)
Compute modulo function. Conceptually this is given by
x - y .* floor (x ./ y)
and is written in a manner that the correct modulus is returned for
integer types. This function handles negative values correctly.
That is `mod (-1, 3)' is 2, not -1 as `rem (-1, 3)' returns.
Also, `mod (X, 0)' returns X.
real/int power (x,y)
returns x^y
Original comment by krustev....@gmail.com
on 16 Jun 2010 at 11:21
... more ...
real sqrt (X)
Compute the square root of X. If X is negative - TBD
Original comment by krustev....@gmail.com
on 16 Jun 2010 at 11:23
Functions added in r1560. Remaining activities:
- eventually warning messages if (for example) we have division by zero.
Currently TELL behaves exactly as the underlying C functions.
- Documentation
Also modulo for integer is not added. Considering a % operator.
Original comment by krustev....@gmail.com
on 28 Jun 2010 at 10:47
Documentation done - remains to be published
Original comment by krustev....@gmail.com
on 12 Jul 2010 at 8:24
Documentation done - remains to be published
Original comment by krustev....@gmail.com
on 12 Jul 2010 at 8:24
Original comment by krustev....@gmail.com
on 1 Apr 2012 at 12:19
Original issue reported on code.google.com by
krustev....@gmail.com
on 16 Jun 2010 at 11:10