wp
This commit is contained in:
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"cmake.configureOnOpen": false
|
||||||
|
}
|
||||||
@@ -248,6 +248,14 @@ func TestSplitFloat2(t *testing.T) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestSplitFloat3(t *testing.T) {
|
||||||
|
f := 2806262383595.7373 // округляет вниз .6985
|
||||||
|
|
||||||
|
n := SplitFloat(f, 4)
|
||||||
|
|
||||||
|
fmt.Printf("int: %d, frac: %d\n", n.Int, n.Frac)
|
||||||
|
}
|
||||||
|
|
||||||
func TestBitOps(t *testing.T) {
|
func TestBitOps(t *testing.T) {
|
||||||
var b byte = 255
|
var b byte = 255
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user