Browse Source

add function to get euler number

master
fdai7848 11 months ago
parent
commit
ea2679568f
  1. 4
      src/reihen.c
  2. 1
      src/reihen.h

4
src/reihen.c

@ -25,3 +25,7 @@ double exponential(double x){
}
return sum;
}
double euler(){
return exponential(1);
}

1
src/reihen.h

@ -2,5 +2,6 @@
#define REIHEN_H
double exponential(double x);
double euler();
#endif // reihen.h
Loading…
Cancel
Save