Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/typescript-go
/ Inf
Function
Inf
internal/jsnum/jsnum.go:30–32 ·
view source on GitHub ↗
(sign int)
Source
from the content-addressed store, hash-verified
28
}
29
30
func
Inf(sign int) Number {
31
return
Number(math.Inf(sign))
32
}
33
34
func
(n Number) IsInf() bool {
35
return
math.IsInf(float64(n), 0)
Callers
5
string_test.go
File · 0.85
FromString
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