Skip to content

Commit e2b60e2

Browse files
committed
feat: reserved the function names hpl_ and mpl_.
- These names are now preserved for future numerical evaluation support.
1 parent 2e7298b commit e2b60e2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

sources/ftypes.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,9 @@ typedef int (*TFUN1)();
478478
#define AGMFUNCTION 122
479479
#define GAMMAFUN 123
480480
#define EXPFUNCTION 124
481-
#define MAXBUILTINFUNCTION 124
481+
#define HPLFUNCTION 125
482+
#define MPLFUNCTION 126
483+
#define MAXBUILTINFUNCTION 126
482484
#else
483485
#define MAXBUILTINFUNCTION 115
484486
#endif

sources/inivar.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ static struct fixedfun {
253253
,{"agm_" ,0 ,0 ,0 ,0} /* AGMFUNCTION */
254254
,{"gamma_" ,0 ,0 ,0 ,0} /* GAMMAFUN */
255255
,{"eexp_" ,0 ,0 ,0 ,0} /* EXPFUNCTION */
256+
,{"hpl_" ,0 ,0 ,0 ,0} /* HPLFUNCTION */
257+
,{"mpl_" ,0 ,0 ,0 ,0} /* MPLFUNCTION */
256258
#endif
257259
};
258260

0 commit comments

Comments
 (0)