-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for core_float_math #137578
Copy link
Copy link
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(core_float_math)]This is a tracking issue for floating point math operations in
core.Public API
The following API will be made available in
core:More will be added in the future. The blocker for others is the quality of our
libmimplementations (I am working on improving this).For
f32andf64, it isn't easily possible to have the methods unstable incorebut stable instd, so standalone functions are used for the feature gate (e.g.core::f32::sqrt). For stabilization these will be changed to inherent and the duplicates instdremoved.Steps / History
coretostdto avoid Clibmdependency Remove dependencies on libm functions from libcore. #27823corefloat types: move copysign, abs, signum to libcore #131304core_float_math#138087core_float_math: Move functions tomathmodule #141282Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩