Values For Standard Hardware Floating Point Arithmetics
The following values of machine epsilon are encountered in practice.
IEEE 754 - 2008 | Common name | C++ data type | Base | Precision | Machine epsilon | C++ or Python formula | Value |
---|---|---|---|---|---|---|---|
binary16 | half precision | not available | 2 | 11 (one bit is implicit) | 2 -11 | pow (2, -11) | 4.88e-04 |
binary32 | single precision | float | 2 | 24 (one bit is implicit) | 2 -23 | pow (2, -23) | 1.192e-07 |
binary64 | double precision | double | 2 | 53 (one bit is implicit) | 2 -52 | pow (2, -52) | 2.22e-16 |
binary80 | extended precision | _float80 | 2 | 64 | 2 -64 | pow (2, -64) | 5.42e-20 |
binary128 | quad(ruple) precision | _float128 | 2 | 113 (one bit is implicit) | 2 -113 | pow (2, -113) | 9.63e-35 |
decimal32 | single precision decimal | _Decimal32 | 10 | 7 | 0.5 × 10 -6 | pow (10, -6) / 2 | 5e-7 |
decimal64 | double precision decimal | _Decimal64 | 10 | 16 | 0.5 × 10 -15 | pow (10, -15) / 2 | 5e-16 |
decimal128 | quad(ruple) precision decimal | _Decimal128 | 10 | 34 | 0.5 × 10 -33 | pow (10, -33) / 2 | 5e-34 |
Read more about this topic: Machine Epsilon
Famous quotes containing the words values, standard, hardware, floating and/or point:
“Our first line of defense in raising children with values is modeling good behavior ourselves. This is critical. How will our kids learn tolerance for others if our hearts are filled with hate? Learn compassion if we are indifferent? Perceive academics as important if soccer practice is a higher priority than homework?”
—Fred G. Gosman (20th century)
“If the Revolution has the right to destroy bridges and art monuments whenever necessary, it will stop still less from laying its hand on any tendency in art which, no matter how great its achievement in form, threatens to disintegrate the revolutionary environment or to arouse the internal forces of the Revolution, that is, the proletariat, the peasantry and the intelligentsia, to a hostile opposition to one another. Our standard is, clearly, political, imperative and intolerant.”
—Leon Trotsky (18791940)
“A friend of mine spoke of books that are dedicated like this: To my wife, by whose helpful criticism ... and so on. He said the dedication should really read: To my wife. If it had not been for her continual criticism and persistent nagging doubt as to my ability, this book would have appeared in Harpers instead of The Hardware Age.”
—Brenda Ueland (18911985)
“The true reformer does not want time, nor money, nor coöperation, nor advice. What is time but the stuff delay is made of? And depend upon it, our virtue will not live on the interest of our money. He expects no income, but outgoes; so soon as we begin to count the cost, the cost begins. And as for advice, the information floating in the atmosphere of society is as evanescent and unserviceable to him as gossamer for clubs of Hercules.”
—Henry David Thoreau (18171862)
“When women reach the age of maturity, Mother Nature sometimes overworks their frustration to the point of irrationalism. Like the middle-aged man...who finds himself looking longingly at a girl in her early twenties.”
—Mark Hanna. Nathan Hertz. Dr. Von Loeb (Otto Waldis)