Skip to content

Consider inserting explicit casts where appropriate #6

@tannergooding

Description

@tannergooding

Various bits of code, such as https://github.com/amd/aocl-libm-ose/blob/aocl-3.0/src/fast/powf.c#L255, currently have implicit casts from double to float.

The code should likely be updated to either use the float variant of the method (such as sqrtf in the above case) or to explicitly cast to float so the compiler doesn't warn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions