MCPcopy 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
25func 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
32func NewFloatFromString(s string) *Float {
33 cs := NewString(s)

Callers

nothing calls this directly

Calls 2

newFloatFunction · 0.85
cMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…