TheFGFSEagle
72d9aef42b
Nasal math module: Add math.sign -> math.sgn alias
2023-09-20 00:46:12 +02:00
Henning Stahlke
2a48a3012b
add approx_eq to math.nas and is_regular_file io.nas
2020-04-16 16:19:29 +01:00
James Turner
3834fcc36e
Add a math.clamp function.
2016-08-20 18:33:12 -05:00
James Turner
60da2d4da8
Remove items implement natively in Nasal.
...
mathlib.c now defines more of these. Remaining items (abs, sgn, min, max)
are likely faster using Nasal than switching to C and back again.
Also add a comment about mod(), clarifying that a native fmod() exists.
2013-10-03 17:42:20 +01:00
Ryan Miller
36c48caaf2
Added crossfeed valve class to aircraft.nas, extended math.nas with min(), max(), and avg()
2011-04-20 16:25:41 -07:00
mfranz
b71c0c580e
add signum function sgn(); consistent use of braces
2009-05-05 18:34:53 +00:00
mfranz
d1df1132c6
add tangens function
2009-03-25 17:52:43 +00:00
andy
3bcfb0624a
Add soft-coded utilites to the "io" and "math" modules. The math
...
stuff is, for the most part, already available in the geo module; but
it's small and this naming matches the evolvoing "standard nasal
library".
2007-03-29 22:09:25 +00:00