AgriculturalModelExchangeInitiative / PyCrop2ML

CropML Python library
Other
18 stars 17 forks source link

Management of infinite #188

Open orianebro opened 1 year ago

orianebro commented 1 year ago

What could be the maximal value (infinite) handled by all the languages ?

cyrillemidingoyi commented 1 year ago

@orianebro @pradal I don't know how infinite is handled by all the languages. It is not defined in CyML.

pradal commented 1 year ago

Python : math.inf C++ : std::numeric_limits<T>::infinity Java: double inf = Double.POSITIVE_INFINITY; C#: double positive = double.PositiveInfinity; R : Inf