<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/run-pass/float_math.rs, branch 1.10.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.10.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.10.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-03-19T21:35:28+00:00</updated>
<entry>
<title>Update float_math test to not use constants</title>
<updated>2016-03-19T21:35:28+00:00</updated>
<author>
<name>Ulrik Sverdrup</name>
<email>bluss@users.noreply.github.com</email>
</author>
<published>2016-03-19T21:23:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ba89b255e86817e0a2f43198a6b802dafbc6ae9e'/>
<id>urn:sha1:ba89b255e86817e0a2f43198a6b802dafbc6ae9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add intrinsics for float arithmetic with `fast` flag enabled</title>
<updated>2016-03-18T16:31:41+00:00</updated>
<author>
<name>Ulrik Sverdrup</name>
<email>bluss@users.noreply.github.com</email>
</author>
<published>2016-03-14T23:01:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2dbac1fb8ed43cbcd160855803d50a51c38b8cee'/>
<id>urn:sha1:2dbac1fb8ed43cbcd160855803d50a51c38b8cee</id>
<content type='text'>
`fast` a.k.a UnsafeAlgebra is the flag for enabling all "unsafe"
(according to llvm) float optimizations.

See LangRef for more information http://llvm.org/docs/LangRef.html#fast-math-flags

Providing these operations with less precise associativity rules (for
example) is useful to numerical applications.

For example, the summation loop:

    let sum = 0.;
    for element in data {
        sum += *element;
    }

Using the default floating point semantics, this loop expresses the
floats must be added in a sequence, one after another. This constraint
is usually completely unintended, and it means that no autovectorization
is possible.
</content>
</entry>
</feed>
