peelonet / tempearly

Minimal scripting language / templating engine.
2 stars 0 forks source link

Adds JSON serialization in Float class. #107

Closed jupelius closed 9 years ago

jupelius commented 9 years ago

Handles NaN and infinity properly.

RauliL commented 9 years ago

Otherwise looks dandy.

jupelius commented 9 years ago

Atleast cppreference.com says that std::isnan(double arg) is C++11 though it compiles with gcc without any additional C++11 flags set.

jupelius commented 9 years ago

Some wise men with skinny arms say that it's also part of C99 so it should be well supported. Fixed now.

RauliL commented 9 years ago

I think the only compiler/platform combination which does not support it, is Windows. We can deal with portability issues later.