Pow functions only in std not in core

Hi,

I am developing currently for the stm32f303 and therefore only have core and no std available.
For an algorithm I need the i64::powf function (or intrinsics::powf64). But this function is only available in std. The intrinsic is available in core but not on stable.
What is the reason for this? As far as I can see with my limited knowledge the pow functions are provided by the llvm backend anyway so should be available in core anyways?

Greetings
Stefan

I believe the issue is those intrinsics get lowered to libm calls, and core isn't supposed to have any C dependencies.

2 Likes

For float variant you could try Rust port of libm:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.