1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
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