Back to index

scribus-ng  1.3.4.dfsg+svn20071115
fpconfig.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 //==============================
00008 // Function parser v2.8 by Warp
00009 //==============================
00010 
00011 // Configuration file
00012 // ------------------
00013 
00014 // NOTE:
00015 // This file is for the internal use of the function parser only.
00016 // You don't need to include this file in your source files, just
00017 // include "fparser.hh".
00018 
00019 /*
00020  Comment out the following line if your compiler supports the (non-standard)
00021  asinh, acosh and atanh functions and you want them to be supported. If
00022  you are not sure, just leave it (those function will then not be supported).
00023 */
00024 #define NO_ASINH
00025 
00026 
00027 /*
00028  Uncomment the following line to disable the eval() function if it could
00029  be too dangerous in the target application.
00030  Note that even though the maximum recursion level of eval() is limited,
00031  it is still possible to write functions using it which take enormous
00032  amounts of time to evaluate even though the maximum recursion is never
00033  reached. This may be undesirable in some applications.
00034 */
00035 //#define DISABLE_EVAL
00036 
00037 
00038 /*
00039  Maximum recursion level for eval() calls:
00040 */
00041 #define EVAL_MAX_REC_LEVEL 1000
00042 
00043 
00044 /*
00045  Comment out the following lines out if you are not going to use the
00046  optimizer and want a slightly smaller library. The Optimize() method
00047  can still be called, but it will not do anything.
00048  If you are unsure, just leave it. It won't slow down the other parts of
00049  the library.
00050 */
00051 #ifndef NO_SUPPORT_OPTIMIZER
00052 #define SUPPORT_OPTIMIZER
00053 #endif
00054 
00055 
00056 /*
00057  Epsilon value used with the comparison operators (must be non-negative):
00058  (Comment it out if you don't want to use epsilon in comparisons. Might
00059  lead to marginally faster evaluation of the comparison operators, but
00060  can introduce inaccuracies in comparisons.)
00061 */
00062 #define FP_EPSILON 1e-14