<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/codegen/float_math.rs, branch 1.24.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.24.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.24.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2017-10-07T16:04:23+00:00</updated>
<entry>
<title>Fix typo in codegen test</title>
<updated>2017-10-07T16:04:23+00:00</updated>
<author>
<name>Robin Kruppe</name>
<email>robin.kruppe@gmail.com</email>
</author>
<published>2017-10-07T16:04:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7d1c14a32d9b09681d8050b30e35c30c7058d8b7'/>
<id>urn:sha1:7d1c14a32d9b09681d8050b30e35c30c7058d8b7</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>
