-
Notifications
You must be signed in to change notification settings - Fork 4
Add no_std support to remaining crates
#65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
f5dad33
0ff701a
c4ba5ee
d627782
e6ade8f
d194ffd
6cb24d9
43b05c5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| /// Equivalent to `f32::powf` but suitable on `no_std`. | ||
| #[inline] | ||
| pub(crate) fn powf(base: f32, exp: f32) -> f32 { | ||
| libm::powf(base, exp) | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -124,6 +124,7 @@ impl<B: BufferLike, L> RawImage<B, L> { | |
|
|
||
| /// Methods specifically with a dynamic layout. | ||
| impl<B> RawImage<B, DynLayout> { | ||
| #[expect(dead_code)] | ||
|
||
| pub(crate) fn try_from_dynamic<Other>(self, layout: Other) -> Result<RawImage<B, Other>, Self> | ||
| where | ||
| Other: Into<DynLayout> + Clone, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.