manifold-systems / manifold

Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
http://manifold.systems/
Apache License 2.0
2.43k stars 125 forks source link

Extension class for java.lang.Double and java.lang.Float produce compile errors for Infinte and NaN constants #309

Closed rsmckinney closed 3 years ago

rsmckinney commented 3 years ago

Extension class for java.lang.Double and java.lang.Float produce compile errors for Infinity and NaN constants.

The projected code does not account for the special values for pos/neg infinity and NaN.

rsmckinney commented 3 years ago

Fix available in release 2021.1.27