Skip to content

f32::powi(_,0) broken on raspberry pi (beta and nightly) #37559

Closed
@kali

Description

@kali

On a rapsberry pi, rust installed through with rustup:

pi@raspberrypi:~ $ echo 'fn main() { println!("{}", 12345.0f32.powi(0)); }' | rustc +stable - ; ./rust_out
1
pi@raspberrypi:~ $ echo 'fn main() { println!("{}", 12345.0f32.powi(0)); }' | rustc +beta - ; ./rust_out
12345

Stable is correct, but beta and nightly are terribly wrong, so with have a regression. It specifically breaks num-bigint tests on raspberry pi.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateP-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions