Table of Contents

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

double

Nan

public static double Nan { get; }

Property Value

double

NegInf

public static double NegInf { get; }

Property Value

double

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)

Parameters

a double
b double

Returns

double