Module rustduino::math[][src]

Expand description

Math functions for assistance in implementation

Modules

Statistical analysis support.

Structs

32-bit floating point wrapper which implements fast approximation-based operations.

Controls the implementation of Random Number Generators.

Enums

Selection of method to generate number.

Traits

f32 extension providing various arithmetic approximations and polyfills for std functionality.

Functions

Function to generate tuple containing u8 numbers accordingly through MPU6050 Gyroscopic Sensor.

Maps a number from one data type to the another data type in a uniform ratio scale.

Push the required bit with left bias.

Push the required bit with right bias.

Rotate the unsigned integer of 8 bits by n towards left and surrounding back with the overflowing bits.

Get the bitwise XOR (exclusive OR) of two 8 bits unsigned integers.

Generate XOR Rotation number.

XOR Shift for stability in number generation. It implements one round of XORShift PRNG algorithm for statistical stability.