[Olsr-dev] JSON can represent Infinity...

Hans-Christoph Steiner (spam-protected)
Thu May 10 00:10:27 CEST 2012


So it turns out that JSON cannot represent Infinity in a 'int' or
'float' type.  Any ideas on how I should handle that?  How about I just
make Infinity equal 0x7FFFFFFF for int, and 9.999999e96 for float?

.hc




More information about the Olsr-dev mailing list