For:
Code: Select all
f32 test = core::fast_atof("340282346638528859811704183484516925440.000000");
f32 test2 = core::fast_atof("-340282346638528859811704183484516925440.000000");
That's maybe OK in other situations, but at least for the serialization it shouldn't be used. I have replaced it now by atof in a few places until it worked for me. That was both occurrences in CXMLReaderImpl.h and the setString in CFloatAttribute in CAttributeImpl.h. I suppose the latter one was responsible for the problems in my case as it worked afterwards. But maybe the other uses should also be changed.
Even better would certainly be a change to fast_atof which works with those numbers, but I have to pass on that fun exercise :-)