Jump to content

Approximate equality: Difference between revisions

m
→‎Pascal: fix some formatting mistakes
m (→‎Pascal: fix some formatting mistakes)
Line 1,131:
3.141592653589793115997963 ≅ 3.141592653589793115997963
The shown output was generated by a <tt>program</tt> compiled by the GPC (GNU Pascal Compiler).
Due to technical limitations it was not possible to reproduce 100.01&nbsp;≆nbsp≆&nbsp;100.011 as requested by the task specification.
The computer had aan IEEE-754-compliant FPU with 80-bit precision.
Note that Pascal’s <tt>write</tt>/<tt>writeLn</tt>/<tt>writeStr</tt> routines (the last one is only available in Extended Pascal) produce _rounded_''rounded'' representations.
 
=={{header|Perl}}==
149

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.