Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/goplus/py
/ AsFloat
Function
AsFloat
float.go:25–30 ·
view source on GitHub ↗
(o *Base)
Source
from the content-addressed store, hash-verified
23
}
24
25
func
AsFloat(o *Base) (v *Float, ok bool) {
26
if
ok = C.floatCheck(o.c()) != 0; ok {
27
v = newFloat(o.c())
28
}
29
return
30
}
31
32
func
NewFloatFromString(s string) *Float {
33
cs := NewString(s)
Callers
nothing calls this directly
Calls
2
newFloat
Function · 0.85
c
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…