Source File
deps.go
Belonging Package
internal/strconv
// Copyright 2025 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.package strconvimport// Implementations to avoid importing other dependencies.// package mathfunc float64frombits( uint64) float64 { return *(*float64)(unsafe.Pointer(&)) }func float32frombits( uint32) float32 { return *(*float32)(unsafe.Pointer(&)) }func float64bits( float64) uint64 { return *(*uint64)(unsafe.Pointer(&)) }func float32bits( float32) uint32 { return *(*uint32)(unsafe.Pointer(&)) }func inf( int) float64 {var uint64if >= 0 {= 0x7FF0000000000000} else {= 0xFFF0000000000000}return float64frombits()}func isNaN( float64) ( bool) { return != }func nan() float64 { return float64frombits(0x7FF8000000000001) }
![]() |
The pages are generated with Golds v0.8.3-preview. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |