Skip to content

Commit 572592a

Browse files
committed
Merge pull request #1794 from arduino/ide-1.5.x-euler
Added new EULER constant
2 parents 5925485 + dfe77f3 commit 572592a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

hardware/arduino/avr/cores/arduino/Arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ void yield(void);
3232
#define TWO_PI 6.283185307179586476925286766559
3333
#define DEG_TO_RAD 0.017453292519943295769236907684886
3434
#define RAD_TO_DEG 57.295779513082320876798154814105
35+
#define EULER 2.718281828459045235360287471352
3536

3637
#define SERIAL 0x0
3738
#define DISPLAY 0x1

hardware/arduino/sam/cores/arduino/wiring_constants.h

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ extern "C"{
3838
#define TWO_PI 6.283185307179586476925286766559
3939
#define DEG_TO_RAD 0.017453292519943295769236907684886
4040
#define RAD_TO_DEG 57.295779513082320876798154814105
41+
#define EULER 2.718281828459045235360287471352
4142

4243
#define SERIAL 0x0
4344
#define DISPLAY 0x1

0 commit comments

Comments
 (0)