diff options
Diffstat (limited to 'src/bltGrAxis.C')
-rw-r--r-- | src/bltGrAxis.C | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bltGrAxis.C b/src/bltGrAxis.C index 594d0bd..19cb963 100644 --- a/src/bltGrAxis.C +++ b/src/bltGrAxis.C @@ -27,7 +27,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "bltMath.h" +#include <math.h> extern "C" { #include "bltInt.h" @@ -43,6 +43,8 @@ extern "C" { using namespace Blt; +#define EXP10(x) (pow(10.0,(x))) +#define ROUND(x) ((int)((x) + (((x)<0.0) ? -0.5 : 0.5))) #define AXIS_PAD_TITLE 2 #define UROUND(x,u) (Round((x)/(u))*(u)) |