<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/core/src/num/dec2flt, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-03T07:51:06+00:00</updated>
<entry>
<title>setup CI and tidy to use typos for spellchecking and fix few typos</title>
<updated>2025-07-03T07:51:06+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2024-12-07T10:51:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c76d032f0144b650a438ee1efba89c475e0b115b'/>
<id>urn:sha1:c76d032f0144b650a438ee1efba89c475e0b115b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move `test-float-parse` tool into `src/tools` dir</title>
<updated>2025-06-03T08:05:51+00:00</updated>
<author>
<name>onur-ozkan</name>
<email>work@onurozkan.dev</email>
</author>
<published>2025-06-03T07:38:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=59fbe04a5249d2da56b19bf0e7f4f017064a3866'/>
<id>urn:sha1:59fbe04a5249d2da56b19bf0e7f4f017064a3866</id>
<content type='text'>
Obviously `test-float-parse` is a tool like any other in `src/tools`.

Signed-off-by: onur-ozkan &lt;work@onurozkan.dev&gt;
</content>
</entry>
<entry>
<title>float: Add `f16` parsing and printing</title>
<updated>2025-05-18T16:43:13+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2024-08-25T03:29:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6fc60b8b0493027cc966d4911688f0735bfb329d'/>
<id>urn:sha1:6fc60b8b0493027cc966d4911688f0735bfb329d</id>
<content type='text'>
Use the existing Lemire (decimal -&gt; float) and Dragon / Grisu algorithms
(float -&gt; decimal) to add support for `f16`. This allows updating the
implementation for `Display` to the expected behavior for `Display`
(currently it prints the a hex bitwise representation), matching other
floats, and adds a `FromStr` implementation.

In order to avoid crashes when compiling with Cranelift or on targets
where f16 is not well supported, a fallback is used if
`cfg(target_has_reliable_f16)` is not true.
</content>
</entry>
<entry>
<title>Rollup merge of #138034 - thaliaarchi:use-prelude-size-of, r=tgross35</title>
<updated>2025-03-07T09:12:44+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-03-07T09:12:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b8346320717d4080d6fa176b4efbd5b1a642db4a'/>
<id>urn:sha1:b8346320717d4080d6fa176b4efbd5b1a642db4a</id>
<content type='text'>
library: Use `size_of` from the prelude instead of imported

Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the prelude instead of importing or qualifying them.

These functions were added to all preludes in Rust 1.80.

try-job: test-various
try-job: x86_64-gnu
try-job: x86_64-msvc-1
</content>
</entry>
<entry>
<title>library: Use size_of from the prelude instead of imported</title>
<updated>2025-03-07T04:20:38+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-03-05T04:28:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=988eb1997014987caad878699ee1e7c000214508'/>
<id>urn:sha1:988eb1997014987caad878699ee1e7c000214508</id>
<content type='text'>
Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the
prelude instead of importing or qualifying them.

These functions were added to all preludes in Rust 1.80.
</content>
</entry>
<entry>
<title>dec2flt: Refactor the fast path</title>
<updated>2025-03-02T09:35:42+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2024-12-09T09:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=37e223ccaa1d0036540e6e3de5d4ed4b721afd60'/>
<id>urn:sha1:37e223ccaa1d0036540e6e3de5d4ed4b721afd60</id>
<content type='text'>
This is just a bit of code cleanup to make use of returning early.
</content>
</entry>
<entry>
<title>dec2flt: Refactor float traits</title>
<updated>2025-03-02T09:35:42+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2024-12-09T09:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=19a909ae0e9f923db2da0fc10264a75b7aa5ad99'/>
<id>urn:sha1:19a909ae0e9f923db2da0fc10264a75b7aa5ad99</id>
<content type='text'>
A lot of the magic constants can be turned into expressions. This
reduces some code duplication.

Additionally, add traits to make these operations fully generic. This
will make it easier to support `f16` and `f128`.
</content>
</entry>
<entry>
<title>dec2flt: Rename fields to be consistent with documented notation</title>
<updated>2025-03-02T07:08:01+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2024-12-09T09:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6c34daff57101922dc97e1860bf5940ea88d3906'/>
<id>urn:sha1:6c34daff57101922dc97e1860bf5940ea88d3906</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dec2flt: Rename `Number` to `Decimal`</title>
<updated>2025-03-02T07:08:01+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2024-12-09T09:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=626d2c5eed687e2c166d25f29cdfcaaba48f5f23'/>
<id>urn:sha1:626d2c5eed687e2c166d25f29cdfcaaba48f5f23</id>
<content type='text'>
The previous commit renamed `Decimal` to `DecimalSeq`. Now, rename the
type that represents a decimal floating point number to be `Decimal`.

Additionally, add some tests for internal behavior.
</content>
</entry>
<entry>
<title>dec2flt: Rename `Decimal` to `DecimalSeq`</title>
<updated>2025-03-02T07:08:00+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2024-12-09T09:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=49a2d4c757e27f915d15664ba92bbe0d3f590a8e'/>
<id>urn:sha1:49a2d4c757e27f915d15664ba92bbe0d3f590a8e</id>
<content type='text'>
This module currently contains two decimal types, `Decimal` and
`Number`. These names don't provide a whole lot of insight into what
exactly they are, and `Number` is actually the one that is more like an
expected `Decimal` type.

In accordance with this, rename the existing `Decimal` to `DecimalSeq`.
This highlights that it contains a sequence of decimal digits, rather
than representing a base-10 floating point (decimal) number.

Additionally, add some tests to validate internal behavior.
</content>
</entry>
</feed>
