1 // super lame math lib demo
4 math.hypot( 3.0, 4.0 ) => stdout;
5 // sine and pi constant
6 math.sin( math.pi / 2.0 ) => stdout;
8 math.nextpow2( 462340 ) => stdout;
10 math.round( 2.4 ) => stdout;
11 math.round( -2.4 ) => stdout;
12 math.trunc( -2.4 ) => stdout;
14 math.fmod( 3.5, 2.1 ) => stdout;
16 math.log( math.e ) => stdout;