a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
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
Docs » Include » libraries » mathieeesp.h
#ifndef	LIBRARIES_MATHIEEESP_H
#define	LIBRARIES_MATHIEEESP_H
/*
**	$VER: mathieeesp.h 1.1 (13.7.1990)
**	Includes Release 45.1
**
**	Include file to use for <math.h>
**
**
**	(C) Copyright 1987-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	IEEESPAbs
#define floor	IEEESPFloor
#define	ceil	IEEESPCeil

#define	tan	IEEESPTan
#define	atan	IEEESPAtan
#define cos	IEEESPCos
#define acos	IEEESPAcos
#define sin	IEEESPSin
#define asin	IEEESPAsin
#define exp	IEEESPExp
#define pow(a,b)	IEEESPPow((b),(a))
#define log	IEEESPLog
#define log10	IEEESPLog10
#define sqrt	IEEESPSqrt

#define	sinh	IEEESPSinh
#define cosh	IEEESPCosh
#define tanh	IEEESPTanh

#if 0 /* Use <clib/mathieeesingbas_protos.h> and <clib/mathieeesingtrans_protos.h> instead. */
float	IEEESPTan(),IEEESPAtan();
float	IEEESPCos(),IEEESPACos();
float	IEEESPSin(),IEEESPASin();
float	IEEESPExp(),IEEESPLog();
float	IEEESPSqrt();
float	IEEESPLog10(),IEEESPPow();
float	IEEESPSincos();
float	IEEESPSinh(),IEEESPCosh(),IEEESPTanh();
float	IEEESPTieee();
float	IEEESPFieee();

int	IEEESPFix();
int	IEEESPCmp(),IEEESPTst();
float	IEEESPFlt();
float	IEEESPAbs();
float	IEEESPNeg();
float	IEEESPAdd();
float	IEEESPSub();
float	IEEESPMul();
float	IEEESPDiv();
float	IEEESPFloor();
float	IEEESPCeil();
#endif

#endif	/* LIBRARIES_MATHIEEESP_H */

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Future Crew

ANA
SPB
FC
PHA

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se