MCPcopy Create free account
hub / github.com/brimdata/super / ParseFloat64

Function ParseFloat64

pkg/byteconv/byteconv.go:64–66  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

62}
63
64func ParseFloat64(b []byte) (float64, error) {
65 return strconv.ParseFloat(UnsafeString(b), 64)
66}
67
68func ReinterpretSlice[Out, In any](in []In) []Out {
69 outData := (*Out)(unsafe.Pointer(unsafe.SliceData(in)))

Callers 9

stringToDurationFunction · 0.92
stringToTimeFunction · 0.92
stringToFloatFunction · 0.92
EvalMethod · 0.92
EvalMethod · 0.92
ToFloatFunction · 0.92
parseTimeFunction · 0.92
appendPrimitiveMethod · 0.92
handleTokenMethod · 0.92

Calls 1

UnsafeStringFunction · 0.85

Tested by

no test coverage detected