Quadruple 2.0

Rating:        Based on 5 ratings
Reviewed:  5 reviews
Downloads: 946
Change Set: 6680
Released: Nov 20, 2011
Updated: Nov 20, 2011 by jeffpasternack
Dev status: Beta Help Icon

Recommended Download

Application Library binary and source code
application, 49K, uploaded Nov 20, 2011 - 946 downloads

Release Notes

This version of Quadruple checks for and prevents underflow and overflow, and adds PositiveInfinity, NegativeInfinity and NaN support, making it a true drop-in replacement for the double type.

Reviews for this release

Very nice library. I have used it for some hobbyist numerical research and it has performed admirably. Any thoughts on adding trigonometric functions? I have faked it currently (casting to double, I know, cheat) but was curious.
by polanddm on Sep 8, 2016 at 9:20 PM
I would recommend double128 (http://www.cg-inc.com/Product/Double128)
by real3d on Jan 17, 2016 at 2:52 AM
The library's name is somewhat misleading... It would be good if author stressed that his implemetation of quadruple-precision floats does not follow the IEEE 754 standard. As a result, arithmetic precision (machine epsilon) of the Quad-type numbers is that of 80-bit extended precision floats (i.e ca. 1.084E-19), and not that of IEEE-standard 128-bit floats (ca. 1.926E-34).
by scramble on Oct 30, 2014 at 5:05 PM
Having created my own bignum math library, I know how much work is involved in creating and optimizing something like this. Well documented and he's letting the public freely use his hours and hours of labor. Appreciated.
by shawnsnyder on Jul 9, 2013 at 2:55 PM
This is great! This is the only quadruple precision solution I found, and this would work great in a new math library I am making. The only things I have problems with is that it should be an immutable type, like doubles, and since my mathlibrary is portable, I can't use any unsafe code :-(
by AlexKven on Aug 8, 2012 at 8:33 PM