WMath.h File Reference
#include <cstdint>
Include dependency graph for WMath.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

long random (long howbig)
 
long random (long howsmall, long howbig)
 
long map (long x, long in_min, long in_max, long out_min, long out_max)
 
void randomSeed (uint16_t)
 
static uint16_t makeWord (uint8_t highByte, uint8_t lowByte)
 
static uint16_t makeWord (uint16_t w)
 

Function Documentation

◆ makeWord() [1/2]

static uint16_t makeWord ( uint16_t  w)
inlinestatic

◆ makeWord() [2/2]

static uint16_t makeWord ( uint8_t  highByte,
uint8_t  lowByte 
)
inlinestatic

◆ map()

long map ( long  x,
long  in_min,
long  in_max,
long  out_min,
long  out_max 
)

◆ random() [1/2]

long random ( long  howbig)

◆ random() [2/2]

long random ( long  howsmall,
long  howbig 
)

◆ randomSeed()

void randomSeed ( uint16_t  )