NegativeF64

Struct NegativeF64 

Source
pub struct NegativeF64 { /* private fields */ }
Expand description

A 64-bit floating-point number representing a Negative value.

§Constraints

This type enforces the following constraints:

  • Range: x < 0 (negative)
  • Finite: Excludes NaN and ±∞

Negative numbers are useful for:

  • Strictly negative values
  • Non-zero denominators

§Examples

Creating a negative value:

#![expect(clippy::approx_constant)]
use strict_num_extended::{NegativeF64, FloatError};

let neg = NegativeF64::new(-42.0)?;
assert_eq!(neg.get(), -42.0);

Invalid value (zero):

use strict_num_extended::NegativeF64;

let invalid = NegativeF64::new(0.0);
assert!(invalid.is_err());

Implementations§

Source§

impl NegativeF64

Source

pub fn new(value: f64) -> Result<Self, FloatError>

Creates a new NegativeF64 value.

The value must satisfy the constraint: negative.

§Examples

Valid value:

#![expect(clippy::approx_constant)]
use strict_num_extended::{NegativeF64, FloatError};

let value = NegativeF64::new(-42.0)?;
assert_eq!(value.get(), -42.0);

Invalid value (positive value):

use strict_num_extended::NegativeF64;

let invalid = NegativeF64::new(1.0);
assert!(invalid.is_err());
§Errors

Returns Err(FloatError) if the value does not satisfy the constraint.

Source

pub const unsafe fn new_unchecked(value: f64) -> Self

Unsafely creates a finite floating-point number (no validation)

§Safety

Caller must ensure the value satisfies the constraint. Violating the constraint leads to undefined behavior.

Source

pub const fn get(&self) -> f64

Gets the inner value

§Example
use strict_num_extended::FinF32;

let finite = FinF32::new(2.5);
assert_eq!(finite.unwrap().get(), 2.5);
Source

pub const fn value(&self) -> f64

Gets the inner value (alias for get())

§Example
use strict_num_extended::FinF32;

let finite = FinF32::new(2.5);
assert_eq!(finite.unwrap().value(), 2.5);
Source

pub const fn new_const(value: f64) -> Self

Creates a value at compile time

§Panics

Will panic at compile time or runtime if the value does not satisfy the constraint.

Source§

impl NegativeF64

Source

pub fn abs(self) -> PositiveF64

Computes the absolute value.

The return type is automatically inferred based on the source constraint:

  • NonNegative/NonPositiveNonNegative
  • NonZeroPositive
  • NormalizedNormalized (reflexive)
  • SymmetricNormalized
  • FinNonNegative
§Examples
use strict_num_extended::*;

let neg = NegativeF64::new(-5.0).unwrap();
let abs_val: PositiveF64 = neg.abs();
assert_eq!(abs_val.get(), 5.0);
Source§

impl NegativeF64

Source

pub fn signum(self) -> NegativeNormalizedF64

Computes the sign function.

Returns the sign of the number:

  • 1.0 if the number is positive
  • 0.0 if the number is zero
  • -1.0 if the number is negative

The return type is automatically inferred based on the source constraint:

  • Positive types → Normalized (signum in {0, 1})
  • Negative types → NegativeNormalized (signum in {-1, 0})
  • NonZero types → Symmetric (signum in {-1, 1})
  • Fin/SymmetricSymmetric (signum in {-1, 0, 1})
§Examples
use strict_num_extended::*;

let pos = PositiveF64::new(5.0).unwrap();
let sign: NormalizedF64 = pos.signum();
assert_eq!(sign.get(), 1.0);

let neg = NegativeF64::new(-5.0).unwrap();
let sign: NegativeNormalizedF64 = neg.signum();
assert_eq!(sign.get(), -1.0);
Source§

impl NegativeF64

Source

pub fn sin(self) -> SymmetricF64

Available on crate feature std only.

Computes the sine of the value.

§Mathematical Properties

For any finite real input x:

  • Range: sin(x) ∈ [-1, 1]
  • Output Type: Always returns Symmetric ([-1, 1])
  • Defined: sin(x) is defined for all finite inputs
§Examples
use strict_num_extended::*;

let angle: FinF64 = FinF64::new(std::f64::consts::PI / 2.0).unwrap();
let sin_val: SymmetricF64 = angle.sin();
assert_eq!(sin_val.get(), 1.0);

let zero: NonNegativeF64 = NonNegativeF64::new_const(0.0);
let sin_zero: SymmetricF64 = zero.sin();
assert_eq!(sin_zero.get(), 0.0);
Source§

impl NegativeF64

Source

pub fn cos(self) -> SymmetricF64

Available on crate feature std only.

Computes the cosine of the value.

§Mathematical Properties

For any finite real input x:

  • Range: cos(x) ∈ [-1, 1]
  • Output Type: Always returns Symmetric ([-1, 1])
  • Defined: cos(x) is defined for all finite inputs
§Examples
use strict_num_extended::*;

let angle: FinF64 = FinF64::new(0.0).unwrap();
let cos_val: SymmetricF64 = angle.cos();
assert_eq!(cos_val.get(), 1.0);

let pi: FinF64 = FinF64::new(std::f64::consts::PI).unwrap();
let cos_pi: SymmetricF64 = pi.cos();
assert!((cos_pi.get() - (-1.0)).abs() < f64::EPSILON);
Source§

impl NegativeF64

Source

pub fn tan(self) -> Result<FinF64, FloatError>

Available on crate feature std only.

Computes the tangent of the value.

§Mathematical Properties

For any finite real input x (excluding π/2 + kπ):

  • Range: tan(x) ∈ (-∞, +∞)
  • Output Type: Always returns Fin (unbounded)
  • Singular Points: Undefined at π/2 + kπ (may return infinity)
§Examples
use strict_num_extended::*;

let angle: FinF64 = FinF64::new(0.0).unwrap();
let tan_val: Result<FinF64, FloatError> = angle.tan();
assert_eq!(tan_val.unwrap().get(), 0.0);

let pi_over_4: FinF64 = FinF64::new(std::f64::consts::PI / 4.0).unwrap();
let tan_45: Result<FinF64, FloatError> = pi_over_4.tan();
assert!((tan_45.unwrap().get() - 1.0).abs() < f64::EPSILON);
Source§

impl NegativeF64

Source

pub const fn as_f64(self) -> f64

Returns the inner f64 value

Source§

impl NegativeF64

Source

pub fn try_into_f32_type(self) -> Result<NegativeF32, FloatError>

Attempts to convert to the corresponding F32 type

§Errors

Returns Err(FloatError) if the converted value does not satisfy the target constraint (e.g., NaN, infinity, or out of range).

Source§

impl NegativeF64

Source

pub const NEG_ONE: Self

Negative one (-1.0)

Source

pub const NEG_TWO: Self

Negative two (-2.0)

Source

pub const NEG_HALF: Self

Negative half (-0.5)

Source

pub const NEG_PI: Self

Negative pi

Source

pub const NEG_E: Self

Negative Euler’s number

Trait Implementations§

Source§

impl Add<FinF64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: FinF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for FinF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for NegativeNormalizedF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for NonNegativeF64

Source§

type Output = FinF64

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for NonPositiveF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for NonZeroF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for NormalizedF64

Source§

type Output = FinF64

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for PiBoundedF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for PositiveF64

Source§

type Output = FinF64

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for Result<FinF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for Result<NegativeF64, FloatError>

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for Result<NegativeNormalizedF64, FloatError>

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for Result<NonNegativeF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for Result<NonPositiveF64, FloatError>

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for Result<NonZeroF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for Result<NormalizedF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for Result<PiBoundedF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for Result<PositiveF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for Result<SymmetricF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for SymmetricF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF64> for f64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeNormalizedF64> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeNormalizedF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NonNegativeF64> for NegativeF64

Source§

type Output = FinF64

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NonNegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NonPositiveF64> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NonPositiveF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NonZeroF64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NonZeroF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NormalizedF64> for NegativeF64

Source§

type Output = FinF64

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NormalizedF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<FinF64>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<FinF64>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<NegativeF64>> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<NegativeF64>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<NegativeNormalizedF64>> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<NegativeNormalizedF64>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<NonNegativeF64>> for NegativeF64

Source§

type Output = Option<FinF64>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<NonNegativeF64>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<NonPositiveF64>> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<NonPositiveF64>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<NonZeroF64>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<NonZeroF64>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<NormalizedF64>> for NegativeF64

Source§

type Output = Option<FinF64>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<NormalizedF64>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<PiBoundedF64>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<PiBoundedF64>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<PositiveF64>> for NegativeF64

Source§

type Output = Option<FinF64>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<PositiveF64>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<SymmetricF64>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<SymmetricF64>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PositiveF64> for NegativeF64

Source§

type Output = FinF64

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PositiveF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<FinF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<FinF64, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<NegativeF64, FloatError>> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<NegativeF64, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<NegativeNormalizedF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<NegativeNormalizedF64, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<NonNegativeF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<NonNegativeF64, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<NonPositiveF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<NonPositiveF64, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<NonZeroF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<NonZeroF64, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<NormalizedF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<NormalizedF64, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<PiBoundedF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<PiBoundedF64, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<PositiveF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<PositiveF64, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<SymmetricF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<SymmetricF64, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<SymmetricF64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: SymmetricF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<f64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF64) -> Self::Output

Performs the + operation. Read more
Source§

impl Clone for NegativeF64

Source§

fn clone(&self) -> NegativeF64

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NegativeF64

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for NegativeF64
where f64: Deserialize<'de>,

Available on crate feature serde only.
Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for NegativeF64

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Div<FinF64> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: FinF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for FinF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for NegativeNormalizedF64

Source§

type Output = NonNegativeF64

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for NonNegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for NonPositiveF64

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for NonZeroF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for NormalizedF64

Source§

type Output = NonPositiveF64

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for PiBoundedF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for PositiveF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for Result<FinF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for Result<NegativeF64, FloatError>

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for Result<NegativeNormalizedF64, FloatError>

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for Result<NonNegativeF64, FloatError>

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for Result<NonPositiveF64, FloatError>

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for Result<NonZeroF64, FloatError>

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for Result<NormalizedF64, FloatError>

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for Result<PiBoundedF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for Result<PositiveF64, FloatError>

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for Result<SymmetricF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for SymmetricF64

Source§

type Output = FinF64

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF64> for f64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeNormalizedF64> for NegativeF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeNormalizedF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NonNegativeF64> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NonNegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NonPositiveF64> for NegativeF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NonPositiveF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NonZeroF64> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NonZeroF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NormalizedF64> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NormalizedF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<FinF64>> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<FinF64>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<NegativeF64>> for NegativeF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<NegativeF64>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<NegativeNormalizedF64>> for NegativeF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<NegativeNormalizedF64>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<NonNegativeF64>> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<NonNegativeF64>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<NonPositiveF64>> for NegativeF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<NonPositiveF64>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<NonZeroF64>> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<NonZeroF64>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<NormalizedF64>> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<NormalizedF64>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<PiBoundedF64>> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<PiBoundedF64>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<PositiveF64>> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<PositiveF64>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<SymmetricF64>> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<SymmetricF64>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF64> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PositiveF64> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PositiveF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<FinF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<FinF64, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<NegativeF64, FloatError>> for NegativeF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<NegativeF64, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<NegativeNormalizedF64, FloatError>> for NegativeF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<NegativeNormalizedF64, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<NonNegativeF64, FloatError>> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<NonNegativeF64, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<NonPositiveF64, FloatError>> for NegativeF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<NonPositiveF64, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<NonZeroF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<NonZeroF64, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<NormalizedF64, FloatError>> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<NormalizedF64, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<PiBoundedF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<PiBoundedF64, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<PositiveF64, FloatError>> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<PositiveF64, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<SymmetricF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<SymmetricF64, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<SymmetricF64> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: SymmetricF64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<f64> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for NegativeF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF64) -> Self::Output

Performs the / operation. Read more
Source§

impl FiniteFloat for NegativeF64

Source§

fn new<T: IntoF64>(value: T) -> Result<Self, FloatError>

Creates a new instance from a value that can be converted to f64 Read more
Source§

fn as_f64(&self) -> f64

Converts the value to f64 Read more
Source§

impl From<NegativeF32> for NegativeF64

Source§

fn from(value: NegativeF32) -> Self

Converts to this type from the input type.
Source§

impl From<NegativeF64> for FinF64

Source§

fn from(value: NegativeF64) -> Self

Converts to this type from the input type.
Source§

impl From<NegativeF64> for NonPositiveF64

Source§

fn from(value: NegativeF64) -> Self

Converts to this type from the input type.
Source§

impl From<NegativeF64> for NonZeroF64

Source§

fn from(value: NegativeF64) -> Self

Converts to this type from the input type.
Source§

impl From<NegativeF64> for f64

Source§

fn from(value: NegativeF64) -> Self

Converts to this type from the input type.
Source§

impl FromStr for NegativeF64

Source§

type Err = ParseFloatError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Mul<FinF64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: FinF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for FinF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for NegativeNormalizedF64

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for NonNegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for NonPositiveF64

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for NonZeroF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for NormalizedF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for PiBoundedF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for PositiveF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for Result<FinF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for Result<NegativeF64, FloatError>

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for Result<NegativeNormalizedF64, FloatError>

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for Result<NonNegativeF64, FloatError>

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for Result<NonPositiveF64, FloatError>

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for Result<NonZeroF64, FloatError>

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for Result<NormalizedF64, FloatError>

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for Result<PiBoundedF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for Result<PositiveF64, FloatError>

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for Result<SymmetricF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for SymmetricF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF64> for f64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeNormalizedF64> for NegativeF64

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeNormalizedF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NonNegativeF64> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NonNegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NonPositiveF64> for NegativeF64

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NonPositiveF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NonZeroF64> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NonZeroF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NormalizedF64> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NormalizedF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<FinF64>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<FinF64>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<NegativeF64>> for NegativeF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<NegativeF64>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<NegativeNormalizedF64>> for NegativeF64

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<NegativeNormalizedF64>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<NonNegativeF64>> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<NonNegativeF64>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<NonPositiveF64>> for NegativeF64

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<NonPositiveF64>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<NonZeroF64>> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<NonZeroF64>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<NormalizedF64>> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<NormalizedF64>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<PiBoundedF64>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<PiBoundedF64>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<PositiveF64>> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<PositiveF64>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<SymmetricF64>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<SymmetricF64>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PositiveF64> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PositiveF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<FinF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<FinF64, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<NegativeF64, FloatError>> for NegativeF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<NegativeF64, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<NegativeNormalizedF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<NegativeNormalizedF64, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<NonNegativeF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<NonNegativeF64, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<NonPositiveF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<NonPositiveF64, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<NonZeroF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonZeroF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<NonZeroF64, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<NormalizedF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<NormalizedF64, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<PiBoundedF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<PiBoundedF64, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<PositiveF64, FloatError>> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<PositiveF64, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<SymmetricF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<SymmetricF64, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<SymmetricF64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: SymmetricF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<f64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for NegativeF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF64) -> Self::Output

Performs the * operation. Read more
Source§

impl Neg for NegativeF64

Source§

type Output = PositiveF64

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Ord for NegativeF64

Source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for NegativeF64

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for NegativeF64

Source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Serialize for NegativeF64
where f64: Serialize,

Available on crate feature serde only.
Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Sub<FinF64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: FinF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for FinF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for NegativeNormalizedF64

Source§

type Output = FinF64

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for NonNegativeF64

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for NonPositiveF64

Source§

type Output = FinF64

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for NonZeroF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for NormalizedF64

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for PiBoundedF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for PositiveF64

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for Result<FinF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for Result<NegativeF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for Result<NegativeNormalizedF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for Result<NonNegativeF64, FloatError>

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for Result<NonPositiveF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for Result<NonZeroF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for Result<NormalizedF64, FloatError>

Source§

type Output = Result<NonNegativeF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for Result<PiBoundedF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for Result<PositiveF64, FloatError>

Source§

type Output = Result<PositiveF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for Result<SymmetricF64, FloatError>

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for SymmetricF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF64> for f64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeNormalizedF64> for NegativeF64

Source§

type Output = FinF64

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeNormalizedF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NonNegativeF64> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NonNegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NonPositiveF64> for NegativeF64

Source§

type Output = FinF64

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NonPositiveF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NonZeroF64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NonZeroF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NormalizedF64> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NormalizedF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<FinF64>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<FinF64>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<NegativeF64>> for NegativeF64

Source§

type Output = Option<FinF64>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<NegativeF64>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<NegativeNormalizedF64>> for NegativeF64

Source§

type Output = Option<FinF64>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<NegativeNormalizedF64>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<NonNegativeF64>> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<NonNegativeF64>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<NonPositiveF64>> for NegativeF64

Source§

type Output = Option<FinF64>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<NonPositiveF64>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<NonZeroF64>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<NonZeroF64>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<NormalizedF64>> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<NormalizedF64>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<PiBoundedF64>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<PiBoundedF64>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<PositiveF64>> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<PositiveF64>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<SymmetricF64>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<SymmetricF64>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PositiveF64> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PositiveF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<FinF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<FinF64, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<NegativeF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<NegativeF64, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<NegativeNormalizedF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<NegativeNormalizedF64, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<NonNegativeF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<NonNegativeF64, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<NonPositiveF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<NonPositiveF64, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<NonZeroF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<NonZeroF64, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<NormalizedF64, FloatError>> for NegativeF64

Source§

type Output = Result<NonPositiveF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<NormalizedF64, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<PiBoundedF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<PiBoundedF64, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<PositiveF64, FloatError>> for NegativeF64

Source§

type Output = Result<NegativeF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<PositiveF64, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<SymmetricF64, FloatError>> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<SymmetricF64, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<SymmetricF64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: SymmetricF64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<f64> for NegativeF64

Source§

type Output = Result<FinF64, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for NegativeF64

Source§

type Output = FinF64

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF64) -> Self::Output

Performs the - operation. Read more
Source§

impl TryFrom<FinF64> for NegativeF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: FinF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NegativeF64> for NegativeF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NegativeF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NegativeF64> for NegativeNormalizedF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NegativeF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NegativeF64> for NonNegativeF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NegativeF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NegativeF64> for NormalizedF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NegativeF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NegativeF64> for PiBoundedF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NegativeF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NegativeF64> for PositiveF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NegativeF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NegativeF64> for SymmetricF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NegativeF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NegativeNormalizedF64> for NegativeF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NegativeNormalizedF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NonNegativeF64> for NegativeF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NonNegativeF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NonPositiveF64> for NegativeF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NonPositiveF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NonZeroF64> for NegativeF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NonZeroF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NormalizedF64> for NegativeF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NormalizedF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PiBoundedF64> for NegativeF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PiBoundedF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PositiveF64> for NegativeF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PositiveF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SymmetricF64> for NegativeF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: SymmetricF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<f32> for NegativeF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: f32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<f64> for NegativeF64

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: f64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Copy for NegativeF64

Source§

impl Eq for NegativeF64

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,