num: Separate public API from internal implementations

Currently we have a single `core::num` module that contains both thin
wrapper API and higher-complexity numeric routines. Restructure this by
moving implementation details to a new `imp` module.

This results in a more clean separation of what is actually user-facing
compared to items that have a stability attribute because they are
public for testing.
This commit is contained in:
Trevor Gross
2026-01-31 03:43:21 -06:00
parent 7057231bd7
commit 23e44f65aa
54 changed files with 193 additions and 169 deletions
+1 -1
View File
@@ -1076,7 +1076,7 @@ gets adapted for the changes, if necessary.
"""
cc = ["@rust-lang/miri", "@RalfJung", "@oli-obk", "@lcnr"]
[mentions."library/core/src/num/{dec2flt,flt2dec}"]
[mentions."library/core/src/num/imp/{dec2flt,flt2dec}"]
message = "Some changes occurred in float parsing"
cc = ["@tgross35"]