WMath.h
Go to the documentation of this file.
1 /* $Id: WMath.h 1156 2011-06-07 04:01:16Z bhagman $
2 ||
3 || @author Hernando Barragan <b@wiring.org.co>
4 || @url http://wiring.org.co/
5 || @contribution Brett Hagman <bhagman@wiring.org.co>
6 || @contribution Alexander Brevig <abrevig@wiring.org.co>
7 ||
8 || @description
9 || | Math methods.
10 || |
11 || | Wiring Common API
12 || #
13 ||
14 || @license Please see cores/Common/License.txt.
15 ||
16 */
17 
18 #pragma once
19 
20 #include <cstdint>
21 
22 long random(long);
23 long random(long, long);
24 long map(long, long, long, long, long);
25 void randomSeed(uint16_t);
26 uint16_t makeWord(uint8_t, uint8_t);
27 uint16_t makeWord(uint16_t);
long random(long)
long map(long, long, long, long, long)
uint16_t makeWord(uint8_t, uint8_t)
void randomSeed(uint16_t)