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 » mathresource.h / .i
#ifndef	RESOURCES_MATHRESOURCE_H
#define	RESOURCES_MATHRESOURCE_H
/*
**	$VER: mathresource.h 1.2 (13.7.1990)
**	Includes Release 45.1
**
**	Data structure returned by OpenResource of:
**	"MathIEEE.resource"
**
**
**	(C) Copyright 1987-2001 Amiga, Inc.
**	    All Rights Reserved
*/

#ifndef EXEC_NODES_H
#include <exec/nodes.h>
#endif

/*
*	The 'Init' entries are only used if the corresponding
*	bit is set in the Flags field.
*
*	So if you are just a 68881, you do not need the Init stuff
*	just make sure you have cleared the Flags field.
*
*	This should allow us to add Extended Precision later.
*
*	For Init users, if you need to be called whenever a task
*	opens this library for use, you need to change the appropriate
*	entries in MathIEEELibrary.
*/

struct MathIEEEResource
{
	struct	Node	MathIEEEResource_Node;
	unsigned short	MathIEEEResource_Flags;
	unsigned short	*MathIEEEResource_BaseAddr; /* ptr to 881 if exists */
	void	(*MathIEEEResource_DblBasInit)();
	void	(*MathIEEEResource_DblTransInit)();
	void	(*MathIEEEResource_SglBasInit)();
	void	(*MathIEEEResource_SglTransInit)();
	void	(*MathIEEEResource_ExtBasInit)();
	void	(*MathIEEEResource_ExtTransInit)();
};

/* definations for MathIEEEResource_FLAGS */
#define	MATHIEEERESOURCEF_DBLBAS	(1<<0)
#define	MATHIEEERESOURCEF_DBLTRANS	(1<<1)
#define	MATHIEEERESOURCEF_SGLBAS	(1<<2)
#define	MATHIEEERESOURCEF_SGLTRANS	(1<<3)
#define	MATHIEEERESOURCEF_EXTBAS	(1<<4)
#define	MATHIEEERESOURCEF_EXTTRANS	(1<<5)

#endif	/* RESOURCES_MATHRESOURCE_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:

Abyss

AYS
AOA
TSL
DC

Comments:

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