1Builtins.abs(3kaya) Kaya module reference Builtins.abs(3kaya)
2
3
4
6 Builtins::abs - Return the magnitude of a floating-point number.
7
9 Float abs( Float x )
10
12 x The floating-point variable to find the magnitude of
13
15 Return the magnitude of a floating-point number.
16
17
18 a = abs(5.7); // 5.7
19 a = abs(-11.2); // 11.2
20
22 Kaya standard library by Edwin Brady, Chris Morris and others
23 (kaya@kayalang.org). For further information see http://kayalang.org/
24
26 The Kaya standard library is free software; you can redistribute it
27 and/or modify it under the terms of the GNU Lesser General Public
28 License (version 2.1 or any later version) as published by the Free
29 Software Foundation.
30
31
32
33Kaya December 2010 Builtins.abs(3kaya)