Approximate equality: Difference between revisions
→{{header|Perl}}
Paulstgeorge (talk | contribs) |
Paulstgeorge (talk | contribs) |
||
Line 1,226:
True 3.14 ≅ 3.14</pre>
Traditionally I have always just used sprintf() to compare floating point atoms in phix.<br>
This task (imo) is trying to make a general-purpose routine out of code which is best tailored for each and every specific task.<br>
Line 1,301:
3.1415926535897931 are approximately equal
</pre>
=={{header|Processing}}==
<syntaxhighlight lang="Processing"></syntaxhighlight>
|