dimforge / dimforge/simba

Add more methods from `num_traits::Float`

Open
#2 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
347
Forks
39
PR merge metrics
No merged PRs in 30d

Description

There are a couple of occasions where I regularly have to add an additional `num_traits::Float` bound.

Methods I need from `num_traits::Float` include the following:
- `min_positive_value`
- `is_nan`
- `nan`
- `infinity` and `neg_infinity`
- `max` and `min` with the `NaN` semantics
- `copysign`

Is the `RealField` suitable for these methods or is it intended to be more abstract, i.e., it not necessarily represents these floating point semantics?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.