Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: the new float functions, e.g. float_, mzv_ etc are now also…
… reserved function names for FORM build without floating point capabilities.
  • Loading branch information
cbmarini committed Dec 9, 2025
commit 17cdc98a146984b188721c974a7a654b93362d76
4 changes: 0 additions & 4 deletions sources/ftypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,6 @@ typedef int (*TFUN1)();
#define BLOCK 113
#define ONEPI 114
#define PHI 115
#ifdef WITHFLOAT
#define FLOATFUN 116
#define TOFLOAT 117
#define TORAT 118
Expand All @@ -481,9 +480,6 @@ typedef int (*TFUN1)();
#define HPLFUNCTION 125
#define MPLFUNCTION 126
#define MAXBUILTINFUNCTION 126
#else
#define MAXBUILTINFUNCTION 115
#endif

#define FIRSTUSERFUNCTION 150

Expand Down
2 changes: 0 additions & 2 deletions sources/inivar.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ static struct fixedfun {
,{"block_" ,0 ,0 ,0 ,0} /* BLOCK */
,{"onepi_" ,0 ,0 ,0 ,0} /* ONEPI */
,{"phi_" ,0 ,VERTEXFUNCTION,0 ,0} /* PHI */
#ifdef WITHFLOAT
,{"float_" ,0 ,0 ,0 ,0} /* FLOATFUN */
,{"tofloat_" ,0 ,0 ,0 ,0} /* TOFLOAT */
,{"torat_" ,0 ,0 ,0 ,0} /* TORAT */
Expand All @@ -255,7 +254,6 @@ static struct fixedfun {
,{"eexp_" ,0 ,0 ,0 ,0} /* EXPFUNCTION */
,{"hpl_" ,0 ,0 ,0 ,0} /* HPLFUNCTION */
,{"mpl_" ,0 ,0 ,0 ,0} /* MPLFUNCTION */
#endif
};

FIXEDSET fixedsets[] = {
Expand Down