[vtk-developers] Progress on ascii representation of floats and doubles

Bill Lorensen bill.lorensen at gmail.com
Sat Mar 3 11:28:25 EST 2018


Folks,

I'm making progress on using google's double-conversion library.

An interesting result...
On my Mac,
For floats, a stream precision of 9 is needed for an exact conversion.
For doubles, 17 is needed.

The XML writers use a precision of 11 which is sufficient for floats
but not doubles.

I'll be submitting a WIP patch soon.

Bill

-- 
Unpaid intern in BillsParadise at noware dot com


More information about the vtk-developers mailing list