NEWS APPS DOCS ABOUT | ||||
Autodocs Include classes clib datatypes devices diskfont dos exec gadgets graphics hardware images intuition libraries HDW_CallBackMsgs.h amigaguide.h / .i aml.h asl.h / .i commodities.h / .i configregs.h / .i configvars.h / .i diskfont.h / .i diskfonttag.h dos.h / .i dos_lib.i dosextens.h / .i expansion.h / .i expansionbase.h / .i filehandler.h / .i gadtools.h / .i hdwrench.h iffparse.h / .i locale.h / .i lowlevel.h / .i mathffp.h mathieeedp.h mathieeesp.h mathlibrary.h / .i mathresource.h / .i nonvolatile.h / .i realtime.h / .i resource.h translator.h / .i pragma pragmas prefs proto reaction resources rexx utility workbench GuruMeditation | #ifndef LIBRARIES_MATHFFP_H #define LIBRARIES_MATHFFP_H 1 /* ** $VER: mathffp.h 36.2 (1.5.1990) ** Includes Release 45.1 ** ** general floating point declarations ** ** (C) Copyright 1985-2001 Amiga, Inc. ** All Rights Reserved */ #ifndef PI #define PI ((float) 3.141592653589793) #endif #define TWO_PI (((float) 2) * PI) #define PI2 (PI / ((float) 2)) #define PI4 (PI / ((float) 4)) #ifndef E #define E ((float) 2.718281828459045) #endif #define LOG10 ((float) 2.302585092994046) #define FPTEN ((float) 10.0) #define FPONE ((float) 1.0) #define FPHALF ((float) 0.5) #define FPZERO ((float) 0.0) #define trunc(x) ((int) (x)) #define round(x) ((int) ((x) + 0.5)) #define itof(i) ((float) (i)) #define fabs SPAbs #define floor SPFloor #define ceil SPCeil #define tan SPTan #define atan SPAtan #define cos SPCos #define acos SPAcos #define sin SPSin #define asin SPAsin #define exp SPExp #define pow(a,b) SPPow((b),(a)) #define log SPLog #define log10 SPLog10 #define sqrt SPSqrt #define sinh SPSinh #define cosh SPCosh #define tanh SPTanh #endif /* LIBRARIES_MATHFFP_H */ Comments |
$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se |