Skip to content

Small sections about performing math functionality #306

Closed
@robamu

Description

@robamu

Correct me if I am missing any information, but I was not able to use some standard float operations like floor and ceil and I required those when calculating register values for a HAL. Am I missing a necessary import for this? I now added the libm dependency and was able to use the floorf functions for my purposes, but I think not being able to use functions like floor is related to having the #[no_std] attribute on the application?

If that is the case, it might be worth an idea to add a small section related to how to perform some basic math operations which are reserved to std normally

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