Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/typescript-go
/ NaN
Function
NaN
internal/jsnum/jsnum.go:22–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
type
Number float64
21
22
func
NaN() Number {
23
return
Number(math.NaN())
24
}
25
26
func
(n Number) IsNaN() bool {
27
return
math.IsNaN(float64(n))
Callers
8
Remainder
Method · 0.85
Exponentiate
Method · 0.85
string_test.go
File · 0.85
FromString
Function · 0.85
tryParseInt
Function · 0.85
jsnum_test.go
File · 0.85
TestRemainder
Function · 0.85
TestExponentiate
Function · 0.85
Calls
1
Number
TypeAlias · 0.70
Tested by
2
TestRemainder
Function · 0.68
TestExponentiate
Function · 0.68