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

Infinity vs RealInfinity() #39

Closed
putianyi889 opened this issue Jun 8, 2023 · 1 comment
Closed

Infinity vs RealInfinity() #39

putianyi889 opened this issue Jun 8, 2023 · 1 comment

Comments

@putianyi889
Copy link
Contributor

The readme says

to represent the positive real infinity.
RealInfinity to represent ±∞.

Does that mean and +∞ are the same thing?

@nsajko
Copy link
Contributor

nsajko commented Aug 31, 2024

is Infinity(), where Infinity is the singleton type representing the positive real infinity.

RealInfinity is not a singleton type, the sign is determined by a field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants