File:  [parser3project] / parser3 / tests / 038.html
Revision 1.5: download - view: text, annotated - select for diffs - revision graph
Sat Dec 30 01:42:51 2023 UTC (2 years, 5 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, HEAD
*** empty log message ***

$1(^math:radians(180))
$2($math:PI)
^if(^1.format[%.10f]==^2.format[%.10f]){y;n}
^if($1==$2){y;n}
^if(^math:radians(180)==$math:PI){y;n}

<hr />
^eval($math:PI)[%.4f]<br />
^^math:radians(180): ^eval(^math:radians(180))[%.4f]<br />
^^math:degrees(^$math:PI/2): ^eval(^math:degrees($math:PI/2))[%d]<br />
^^math:sin(^$math:PI/2): ^eval(^math:sin($math:PI/2))[%.2f]<br />
^^math:asin(-1): ^eval(^math:asin(-1))[%.2f]<br />
^^math:cos(^$math:PI): ^eval(^math:cos($math:PI))[%.2f]<br />
^^math:acos(0): ^eval(^math:acos(0))[%.2f]<br />
^^math:tan(^$math:PI/4): ^eval(^math:tan($math:PI/4))[%.2f]<br />
^^math:atan(-1): ^eval(^math:atan(-1))[%.2f]<br />
^^math:atan2(-1;0): ^eval(^math:degrees(^math:atan2(-1;0)))[%d]°<br />

E-mail: