Skip to content

M_CodeJam_Arithmetic_OperatorsFactory_GetNaN__1

Andrew Koryavchenko edited this page Jun 17, 2018 · 2 revisions

OperatorsFactory.GetNaN(T) Method

Returns the NaN value.

Namespace: CodeJam.Arithmetic
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static T GetNaN<T>()

VB

Public Shared Function GetNaN(Of T) As T

F#

static member GetNaN : unit -> 'T 

Type Parameters

 

T
The type to get value for.

Return Value

Type: T
The NaN value or if the type has no corresponding value.

Exceptions

 

Exception Condition
NotSupportedException Thrown if the type has no corresponding value.

See Also

Reference

OperatorsFactory Class
CodeJam.Arithmetic Namespace
System.NotSupportedException

Clone this wiki locally