Browse Source

Fix for pow10 & exp10

main
PaulStoffregen 7 years ago
parent
commit
d204b6d9fa
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      teensy3/wiring.h

+ 8
- 0
teensy3/wiring.h View File

typeof(x) _x = (x); \ typeof(x) _x = (x); \
_x * _x; \ _x * _x; \
}) })

extern double exp10(double x);
extern float exp10f(float x);
extern long double exp10l(long double x);
extern double pow10(double x);
extern float pow10f(float x);
extern long double pow10l(long double x);

#define sei() __enable_irq() #define sei() __enable_irq()
#define cli() __disable_irq() #define cli() __disable_irq()
#define interrupts() __enable_irq() #define interrupts() __enable_irq()

Loading…
Cancel
Save