-
Notifications
You must be signed in to change notification settings - Fork 2
System.Inf
Dennis G. edited this page Aug 10, 2025
·
2 revisions
const Inf = \built-in\
The Inf constant in the System package represents the positive infinity value of a numeric expression. In order to get the value of negative infinity, simply negate it using the - (minus) operator: -Inf.
Inf or -Inf allows for further calculations, but its value will never change. If you need the highest possible non-infinity number to work with, please use MaxValue or MinValue instead.
Texts, images and code samples on this page are available under MPL 2.0 license