Skip to content

Scale param#16

Merged
raphaelDkhn merged 7 commits into
masterfrom
scale-param
May 16, 2025
Merged

Scale param#16
raphaelDkhn merged 7 commits into
masterfrom
scale-param

Conversation

@raphaelDkhn
Copy link
Copy Markdown
Contributor

Introducing Fixed point params thanks to Rust's const generics.

You can now define a fixed point by its scale as follow:

let a = Fixed::<15>::from_f64(3.14);

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

Does this introduce a breaking change?

  • Yes
  • No

Other information

@raphaelDkhn raphaelDkhn merged commit c99e4c5 into master May 16, 2025
1 check passed
@raphaelDkhn raphaelDkhn deleted the scale-param branch May 16, 2025 10:51
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.

1 participant