
26 Aug
2008
26 Aug
'08
12:47 p.m.
Robert Mecklenburg wrote:
Since floats are the problem with portable binary archives, why not punt on this issue and render floating point types (only) in ascii.
For many uses floating point is not the critical path and binary archives solve many problems other than floating point: endian-ness, native integer size differences, etc. And those issues can be quite difficult to deal with otherwise.
yes, this is a wide range of applications, but for example where I'm using it, most of our data is in floats :) but you're right - it's best to get a result that's not perfect but works, first :) Akos