diff options
| author | craig <craig@11d20701-8431-0410-a711-e3c959e3b870> | 2012-01-01 11:40:09 +0000 |
|---|---|---|
| committer | craig <craig@11d20701-8431-0410-a711-e3c959e3b870> | 2012-01-01 11:40:09 +0000 |
| commit | 7ed83b6c6666eb8b6b104c211ae7e52907350372 (patch) | |
| tree | 4430b556abac0ad660a0aacf1887d77f85d8be02 /scribus/fpconfig.h | |
| download | scribus-7ed83b6c6666eb8b6b104c211ae7e52907350372.tar.gz scribus-7ed83b6c6666eb8b6b104c211ae7e52907350372.tar.xz scribus-7ed83b6c6666eb8b6b104c211ae7e52907350372.zip | |
Branch 1.3.5 tree to 1.4.x tree, goodbye 1.3.x
git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17163 11d20701-8431-0410-a711-e3c959e3b870
Diffstat (limited to 'scribus/fpconfig.h')
| -rw-r--r-- | scribus/fpconfig.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/scribus/fpconfig.h b/scribus/fpconfig.h new file mode 100644 index 0000000..edd5bbd --- /dev/null +++ b/scribus/fpconfig.h @@ -0,0 +1,62 @@ +/* +For general Scribus (>=1.3.2) copyright and licensing information please refer +to the COPYING file provided with the program. Following this notice may exist +a copyright and/or license notice that predates the release of Scribus 1.3.2 +for which a new license (GPL+exception) is in place. +*/ +//============================== +// Function parser v2.8 by Warp +//============================== + +// Configuration file +// ------------------ + +// NOTE: +// This file is for the internal use of the function parser only. +// You don't need to include this file in your source files, just +// include "fparser.hh". + +/* + Comment out the following line if your compiler supports the (non-standard) + asinh, acosh and atanh functions and you want them to be supported. If + you are not sure, just leave it (those function will then not be supported). +*/ +#define NO_ASINH + + +/* + Uncomment the following line to disable the eval() function if it could + be too dangerous in the target application. + Note that even though the maximum recursion level of eval() is limited, + it is still possible to write functions using it which take enormous + amounts of time to evaluate even though the maximum recursion is never + reached. This may be undesirable in some applications. +*/ +//#define DISABLE_EVAL + + +/* + Maximum recursion level for eval() calls: +*/ +#define EVAL_MAX_REC_LEVEL 1000 + + +/* + Comment out the following lines out if you are not going to use the + optimizer and want a slightly smaller library. The Optimize() method + can still be called, but it will not do anything. + If you are unsure, just leave it. It won't slow down the other parts of + the library. +*/ +#ifndef NO_SUPPORT_OPTIMIZER +#define SUPPORT_OPTIMIZER +#endif + + +/* + Epsilon value used with the comparison operators (must be non-negative): + (Comment it out if you don't want to use epsilon in comparisons. Might + lead to marginally faster evaluation of the comparison operators, but + can introduce inaccuracies in comparisons.) +*/ +#define FP_EPSILON 1e-14 |
