Class NanInf
- Namespace
- Npp.DotNet.Plugin.Extensions
- Assembly
- Npp.DotNet.Plugin.dll
public class NanInf
- Inheritance
-
NanInf
- Inherited Members
Properties
Inf
public static double Inf { get; }
Property Value
Nan
public static double Nan { get; }
Property Value
NegInf
public static double NegInf { get; }
Property Value
Methods
Divide(double, double)
a/b
may be necessary to generate infinity or nan at runtime
to avoid the compiler pre-computing things
since if the compiler sees literal division by 0d in the code
it just pre-computes it at compile time
public static double Divide(double a, double b)