diff options
author | biouman <biouman> | 2001-05-01 23:46:25 +0000 |
---|---|---|
committer | biouman <biouman> | 2001-05-01 23:46:25 +0000 |
commit | 7dd4d0c7b11f8341fc4f7c357273c4d14f6bb237 (patch) | |
tree | d8f7714a44352e91922d24bc52cb1e1547d6fd99 | |
parent | 61cc1439cfbd973a4b1f4e3fcf8a7139b1addcc5 (diff) |
*** empty log message ***
-rw-r--r-- | include/fonctions.h | 18 | ||||
-rw-r--r-- | lib/fonctions.c | 19 |
2 files changed, 37 insertions, 0 deletions
diff --git a/include/fonctions.h b/include/fonctions.h new file mode 100644 index 0000000..1b0fbfa --- /dev/null +++ b/include/fonctions.h @@ -0,0 +1,18 @@ +#ifndef __FONCTIONS_H__ +#define __FONCTIONS_H__ + + +typedef enum func_name { + DERIV, + DERIVN, + INTEG, + ANS, + LISTE, + DELVAR, + SETDISP, + HELP, + EXIT +} func_name; + + +#endif
\ No newline at end of file diff --git a/lib/fonctions.c b/lib/fonctions.c new file mode 100644 index 0000000..499c159 --- /dev/null +++ b/lib/fonctions.c @@ -0,0 +1,19 @@ +/* + * + * fonctions avancees sur les polynomes + * + */ + +#include "fonctions.h" +#include "pile.h" + +typedef struct func_t { + func_name func; + char *nom; + int arite; + type_elem arg1, arg2, arg3; +} func_t; + +static func_table[] = { + { DERIV, "deriv", 1, T_POLY, -1, -1}, + { DERIVN, "derivn"
\ No newline at end of file |