Skip to content

Commit 9fce7f1

Browse files
author
Federico Fissore
committed
Added new EULER constant. Fixes #1792
1 parent 618f537 commit 9fce7f1

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)