We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6db00d9 commit b664d2cCopy full SHA for b664d2c
fix32/fix32.go
@@ -7,6 +7,8 @@ import (
7
"github.com/camry/fp/fixutil"
8
)
9
10
+// Direct fixed point (signed 16.16) functions.
11
+
12
const (
13
Shift int32 = 16
14
FractionMask int32 = (1 << Shift) - 1
fix64/fix64.go
@@ -6,6 +6,8 @@ import (
6
+// Direct fixed point (signed 32.32) functions.
Shift int32 = 32
FractionMask int64 = (1 << Shift) - 1
0 commit comments