Enhancement: Enable no-std Support and Float Type Flexibility #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request enhances the
satellite
Rust crate by enabling it to be used without the standard library (#![no_std]
) and providing flexibility in the choice of floating-point types. The changes in this pull request address limitations in float types in ano-std
environment by integrating themicromath
crate and implementing a mechanism to define float types based on whether the standard library feature is enabled or disabled.Key Changes:
satellite
crate to be used without the standard library by disabling the defaultstd
feature.micromath
crate to address limitations in float types in ano-std
environment.f32
andf64
based on the presence of the standard library feature.Testing:
SIMILAR_EPSILON
).Additional Notes:
satellite
crate, making it more accessible for use in a broader range of applications, particularly those targeting resource-constrained environments.