Fonctions
Référence du fichier WMath.cpp
#include "stdlib.h"
#include "stdint.h"
#include "WMath.h"

Fonctions

void randomSeed (uint32_t dwSeed)
 
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)
 
uint16_t makeWord (uint16_t w)
 
uint16_t makeWord (uint8_t h, uint8_t l)
 

Documentation des fonctions

◆ makeWord() [1/2]

uint16_t makeWord ( uint16_t  w)

◆ makeWord() [2/2]

uint16_t makeWord ( uint8_t  h,
uint8_t  l 
)

◆ 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 ( uint32_t  dwSeed)