tweaks
This commit is contained in:
parent
e7eac03f04
commit
114b2725ea
@ -8,7 +8,7 @@ type Planar64=fixed::types::I32F32;
|
|||||||
type Planar64Wide3=fixed_wide::types::I256F256;
|
type Planar64Wide3=fixed_wide::types::I256F256;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn it_works() {
|
fn wide_int64() {
|
||||||
let a=Planar64::from(2);
|
let a=Planar64::from(2);
|
||||||
let b=Planar64::from(3);
|
let b=Planar64::from(3);
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ fn it_works() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
pub fn wide_vec3(){
|
fn wide_vec3(){
|
||||||
let v=Vector3::from_value(Planar64::from(3));
|
let v=Vector3::from_value(Planar64::from(3));
|
||||||
let v1=v.wide_mul(v);
|
let v1=v.wide_mul(v);
|
||||||
let v2=v1.wide_mul(v1);
|
let v2=v1.wide_mul(v1);
|
||||||
|
Loading…
Reference in New Issue
Block a user