[][src]Function geomorph::math::fmod

pub fn fmod(a: f64, b: f64) -> f64

Modulus operation for a given f64 pair

Arguments

  • a: f64
  • b: f64 - Different than 0.0

Example

let a: f64 = 5.3;
let b: f64 = 2.1;
let x: f64 = geomorph::math::fmod(a, b);