Skip to content

[feature] optimization - powf to powi, sqrt, cbrt, etc. #306

Description

@drobnyjt

Is your feature request related to a problem? Please describe.
RustBCA uses unnecessary powf calls in some places; many of these reduce to appropriate assembly (e.g., powf(2.0) produces equivalent code to powi(2)), but some do not.

Proposed solution
Replace all powf with powi, sqrt, cbrt as appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions