Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Varying Floating-Point Precision


July 1993/Varying Floating-Point Precision/Table 2

Table 2 Comparison of accuracy performance for different versions of Listing 2

<B>Type         Error         Time</B>
-------------------------------
<I>float</I>        6.70556       1.16
<I>double</I>        2.49808e-008  1.21
<I>long double</I>  4.83773e-012  1.48

Related Reading


More Insights