We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents be0b8b4 + c810242 commit 36d3529Copy full SHA for 36d3529
conv.go
@@ -19,8 +19,8 @@ func IntMaxSignedValue(b int) int {
19
}
20
21
22
-// IeeeFloatToInt converts a 10 byte IEEE float into an int.
23
-func IeeeFloatToInt(b [10]byte) int {
+// IEEEFloatToInt converts a 10 byte IEEE float into an int.
+func IEEEFloatToInt(b [10]byte) int {
24
var i uint32
25
// Negative number
26
if (b[0] & 0x80) == 1 {
@@ -48,8 +48,8 @@ func IeeeFloatToInt(b [10]byte) int {
48
return int(i)
49
50
51
-// IntToIeeeFloat converts an int into a 10 byte IEEE float.
52
-func IntToIeeeFloat(i int) [10]byte {
+// IntToIEEEFloat converts an int into a 10 byte IEEE float.
+func IntToIEEEFloat(i int) [10]byte {
53
b := [10]byte{}
54
num := float64(i)
55
0 commit comments