Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Management of infinite #188

Open
orianebro opened this issue Mar 17, 2023 · 2 comments
Open

Management of infinite #188

orianebro opened this issue Mar 17, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@orianebro
Copy link

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

@cyrillemidingoyi
Copy link
Contributor

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

@pradal
Copy link
Contributor

pradal commented Apr 6, 2023

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

@cyrillemidingoyi cyrillemidingoyi self-assigned this Apr 6, 2023
@cyrillemidingoyi cyrillemidingoyi added the enhancement New feature or request label Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants