aboutsummaryrefslogtreecommitdiff
path: root/src/tools/float.cpp (follow)
AgeCommit message (Collapse)Author
2011-03-10Removed the float test, it was silly to have it in libbu++.Mike Buland
2011-03-08sigh, another program that's not realy a tool, it was the easiest place for itMike Buland
I should add a new class of program to libbu++ or clear out most of my old tests or something. Anyway, almost fully C99 compliant float to normalized hex string and back functions in pure math. Really slick, really portable. they don't handle +/-NaN, +/-Inf, or the special alternate format for subnormal numbers, try entering a 0.0...01 where I cut out about 200 zeros, you'll see what I mean.