File:  [parser3project] / parser3 / tests / results / 207.processed
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Mon Nov 2 00:49:06 2026 UTC (3 weeks, 2 days ago) by moko
Branches: MAIN
CVS tags: HEAD
min/max tests added (related to feature #1316)

Content-Type: text/html
Content-Length: 884

^math:abs(-2): 2<br />
^math:abs(5): 5<br />
<br />
^math:sign(-3): -1<br />
^math:sign(-0): 0<br />
^math:sign(6): 1<br />
<br />
^math:trunc(0.6): 0<br />
^math:trunc(1.4): 1<br />
^math:trunc(-2.5): -2<br />
<br />
^math:frac(0.6): 0.6<br />
^math:frac(1.4): 0.4<br />
^math:frac(-2.5): -0.5<br />
<br />
^math:exp(1): 2.7183<br />
^math:log(3): 1.0986<br />
^math:log10(100): 2<br />
^math:min(3;1): 1<br />
^math:min(1;3): 1<br />
^math:max(3;1): 3<br />
^math:max(1;3): 3<br />
^math:min(-3;-1): -3<br />
^math:max(-3;-1): -1<br />
^math:min(0.5;0.25): 0.25<br />
^math:max(-0.5;-0.25): -0.25<br />
<br />
^math:min(5;1;3): 1<br />
^math:min(1;5;3): 1<br />
<br />
^math:min(1): Exception: native method of 'math' accepts minimum 2 parameter(s) (1 present)<br />
^math:max(1;$s): Exception: invalid number (double)<br />
^math:min($s;1): Exception: invalid number (double)<br />

E-mail: