Skip to content

Instantly share code, notes, and snippets.

@auroranockert
Created July 9, 2013 03:36
Show Gist options
  • Select an option

  • Save auroranockert/5954505 to your computer and use it in GitHub Desktop.

Select an option

Save auroranockert/5954505 to your computer and use it in GitHub Desktop.
use std::io;
use std::unstable::simd;
fn main () {
let x = simd::f64x2(1.0, 2.0);
io::println(fmt!("Result of vector addition is (%f, %f)", x.s0 as float, x.s1 as float))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment