Created
July 9, 2013 03:36
-
-
Save auroranockert/5954505 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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