Skip to content

Conversation

@JYouren
Copy link
Contributor

@JYouren JYouren commented Nov 5, 2025

Light up Raspberry PI pico maths functions that were disabled

@Dirbaio
Copy link
Member

Dirbaio commented Nov 5, 2025

The float functions define intrinsics like this so they get called when you do normal Rust float math, like a + b. This is why they're not public, you're not supposed to call them directly.

@JYouren
Copy link
Contributor Author

JYouren commented Nov 5, 2025

ok, thanks. How do I get access to functions like ATAN?

@Dirbaio
Copy link
Member

Dirbaio commented Nov 5, 2025

the standard float methods should work I think
https://doc.rust-lang.org/std/primitive.f32.html#method.atan

@JYouren
Copy link
Contributor Author

JYouren commented Nov 5, 2025

Looks like that is std only

@JYouren JYouren closed this Nov 28, 2025
@JYouren JYouren deleted the maths-improvements branch November 28, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants