<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/f64.rs, branch 1.34.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.34.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.34.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-02-10T23:42:32+00:00</updated>
<entry>
<title>tests: doc comments</title>
<updated>2019-02-10T23:42:32+00:00</updated>
<author>
<name>Alexander Regueiro</name>
<email>alexreg@me.com</email>
</author>
<published>2019-02-09T21:23:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b87363e7632b3f20f9b529696ffb5d5d9c3927cd'/>
<id>urn:sha1:b87363e7632b3f20f9b529696ffb5d5d9c3927cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename div_euc -&gt; div_euclid, and mod_euc -&gt; rem_euclid</title>
<updated>2018-12-18T00:41:48+00:00</updated>
<author>
<name>Nicole Mazzuca</name>
<email>npmazzuca@gmail.com</email>
</author>
<published>2018-12-18T00:41:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e36b62873fb6787d521fbc4e0bd89915e28ed0f1'/>
<id>urn:sha1:e36b62873fb6787d521fbc4e0bd89915e28ed0f1</id>
<content type='text'>
logic is written up in https://github.com/rust-lang/rust/issues/49048

Also, update the documentation slightly
</content>
</entry>
<entry>
<title>Fix a small mistake regarding NaNs in a deprecation message</title>
<updated>2018-12-15T17:41:21+00:00</updated>
<author>
<name>Tobias Bucher</name>
<email>tobiasbucher5991@gmail.com</email>
</author>
<published>2018-12-15T17:41:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=967b1fc3b723117d57ff27417d811747b1bf1242'/>
<id>urn:sha1:967b1fc3b723117d57ff27417d811747b1bf1242</id>
<content type='text'>
`max` on floats returns the other argument if one of them is NaN, which
would be `0.0` in this case. This is unlike the C functions `fdim` and
`fdimf` which return NaN if either of their arguments is NaN.

https://doc.rust-lang.org/1.31.0/std/primitive.f32.html#method.max
https://en.cppreference.com/w/c/numeric/math/fdim
</content>
</entry>
<entry>
<title>Various minor/cosmetic improvements to code</title>
<updated>2018-12-07T23:53:34+00:00</updated>
<author>
<name>Alexander Regueiro</name>
<email>alexreg@me.com</email>
</author>
<published>2018-11-27T02:59:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee89c088b057affb5bdb96195e107a218b64b1c5'/>
<id>urn:sha1:ee89c088b057affb5bdb96195e107a218b64b1c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix doc for new copysign functions</title>
<updated>2018-10-24T22:19:23+00:00</updated>
<author>
<name>Raph Levien</name>
<email>raph.levien@gmail.com</email>
</author>
<published>2018-10-24T22:19:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=538f65eb617f5d4596cf0d263e48998a70137ce1'/>
<id>urn:sha1:538f65eb617f5d4596cf0d263e48998a70137ce1</id>
<content type='text'>
Thanks to @LukasKalbertodt for catching this. Addresses a comment
raised in #55169 after it was merged.
</content>
</entry>
<entry>
<title>Add must_use on copysign</title>
<updated>2018-10-18T15:35:09+00:00</updated>
<author>
<name>Raph Levien</name>
<email>raph.levien@gmail.com</email>
</author>
<published>2018-10-18T15:35:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f08db6bf1ee44dd1bc8c4d3ddcea1425fcd8d118'/>
<id>urn:sha1:f08db6bf1ee44dd1bc8c4d3ddcea1425fcd8d118</id>
<content type='text'>
Added a #[must_use] annotation on copysign, per review feedback.
</content>
</entry>
<entry>
<title>Fix inconsistent documentation</title>
<updated>2018-10-18T04:09:55+00:00</updated>
<author>
<name>Raph Levien</name>
<email>raph.levien@gmail.com</email>
</author>
<published>2018-10-18T04:09:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9a2e7026dcbd84641b05334b5b4b0a4d647944f4'/>
<id>urn:sha1:9a2e7026dcbd84641b05334b5b4b0a4d647944f4</id>
<content type='text'>
I improved the f32 version and made a copy-paste error for f64.
</content>
</entry>
<entry>
<title>Add a `copysign` function to f32 and f64</title>
<updated>2018-10-18T01:15:00+00:00</updated>
<author>
<name>Raph Levien</name>
<email>raph.levien@gmail.com</email>
</author>
<published>2018-10-18T01:15:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0e6c3f29be98176c91aa77eb71c04cca18c51115'/>
<id>urn:sha1:0e6c3f29be98176c91aa77eb71c04cca18c51115</id>
<content type='text'>
This patch adds a `copysign` function to the float primitive types.
It is an exceptionally useful function for writing efficient numeric
code, as it often avoids branches, is auto-vectorizable, and there
are efficient intrinsics for most platforms.

I think this might work as-is, as the relevant `copysign` intrinsic
is already used internally for the implementation of `signum`. It's
possible that an implementation might be needed in japaric/libm for
portability across all platforms, in which case I'll do that also.

Part of the work towards #55107
</content>
</entry>
<entry>
<title>Clarify rational behind current implementation of `.mod_euc()`</title>
<updated>2018-06-26T11:09:56+00:00</updated>
<author>
<name>Fabian Kössel</name>
<email>fkjogu@users.noreply.github.com</email>
</author>
<published>2018-05-28T10:40:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=daeadc6c2ef75133303b0ad66008ef5fb656a228'/>
<id>urn:sha1:daeadc6c2ef75133303b0ad66008ef5fb656a228</id>
<content type='text'>
</content>
</entry>
</feed>
