mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
15 lines
165 B
Go
15 lines
165 B
Go
package protocol
|
|
|
|
import (
|
|
"math"
|
|
"testing"
|
|
)
|
|
|
|
func Test_getVolume(t *testing.T) {
|
|
f := float32(1.03)
|
|
n := math.Float32bits(f)
|
|
t.Log(n)
|
|
|
|
t.Log(getVolume(n))
|
|
}
|