go.opentelemetry.io/otel/api/metric.Number.AsFloat64 (method)
11 uses
go.opentelemetry.io/otel/api/metric (current package)
number.go#L106: return NewFloat64Number(-nn.AsFloat64())
number.go#L132: func (n *Number) AsFloat64() float64 {
number.go#L190: return int64(n.AsFloat64())
number.go#L204: return n.AsFloat64()
number.go#L295: old := n.AsFloat64()
number.go#L338: n.AddFloat64(nn.AsFloat64())
number.go#L369: n.AddFloat64Atomic(nn.AsFloat64())
number.go#L437: return n.CompareFloat64(nn.AsFloat64())
number.go#L473: this := n.AsFloat64()
number.go#L509: return fmt.Sprintf("%f", n.AsFloat64())
number.go#L522: return n.AsFloat64()
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |