-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement float methods #11
Comments
iliekturtles
added a commit
that referenced
this issue
May 19, 2017
New feature is enabled by default and disabling enables `no_std`. Tests updated to handle all combinations of features with at least one of f32 or f64 being specified. Required for #11 where some methods such as `sqrt` require the standard library.
iliekturtles
added a commit
that referenced
this issue
May 28, 2017
Add `Dimension` overloads for `Mul` and `PartialDiv` (requires result have no remainder) so that the return type of `sqrt` has the appropriate dimensions. Part of #11.
iliekturtles
added a commit
that referenced
this issue
Jun 12, 2017
`classify`, `is_finite`, `is_infinite`, `is_nan`, and `is_normal`. Part of #11.
iliekturtles
added a commit
that referenced
this issue
Jun 12, 2017
`floor`, `ceil`, `round`, `trunc`, and `fract`. Part of #11
iliekturtles
added a commit
that referenced
this issue
Jun 15, 2017
`exp`, `exp2`, `ln`, `log`, `log2`, and `log10`. Part of #11.
iliekturtles
added a commit
that referenced
this issue
Jun 18, 2017
iliekturtles
added a commit
that referenced
this issue
Jun 18, 2017
iliekturtles
added a commit
that referenced
this issue
Jun 18, 2017
* Remove explicit dimension type aliases and create a single generic alias. * Implement `Neg` for `$quantities` so that `recip` can be implemented in terms of `Neg` instead of `Mul<N1>`. * Shorten `{Add, Sub, Mul, PartialDiv}::Output` references to `{Sum, Diff, Prod, PartialQuot}`. Part of #11.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://doc.rust-lang.org/std/primitive.f32.html
is_nan
is_infinite
is_finite
is_normal
classify
floor
-- by unitceil
-- by unitround
-- by unittrunc
-- by unitfract
-- by unitabs
signum
is_sign_positive
is_sign_negative
mul_add
recip
-- returns quantity of different dimensionspowi
-- returns quantity of different dimensionssqrt
-- returns quantity of different dimensionshttps://physics.stackexchange.com/questions/7668/fundamental-question-about-dimensional-analysis, https://physics.stackexchange.com/questions/13060/what-is-the-logarithm-of-a-kilometer-is-it-a-dimensionless-numberexp
exp2
ln
log
log2
log10
max
min
cbrt
-- returns quantity of different dimensionshypot
-- Only forLength
?The text was updated successfully, but these errors were encountered: