floatx4

Crates.iofloatx4
lib.rsfloatx4
version1.1.0
sourcesrc
created_at2024-07-31 21:18:46.63092
updated_at2024-07-31 22:05:10.117969
descriptionA library that can perform 4 float operations simultaneously.
homepagehttps://github.com/yIllusionSky/floatx4-rs
repositoryhttps://github.com/yIllusionSky/floatx4-rs
max_upload_size
id1321327
size20,565
YaoLinQing (yIllusionSky)

documentation

README

floatx4-rs

A library that can perform 4 float operations simultaneously

Examples

use floatx4::Floatx4;

// let array = Floatx4::from_scalar(2.);
let array = Floatx4::from_array([1.,2.,3.,4.]);

// +,-,*,/ ...
let mut new_array = array * array ;
new_array+=array;

// print
for value in new_array{
    println!("{value:?}");
}
Commit count: 0

cargo fmt