getting SYSV values.h functionality in BSD4.3

Bruce R Lewis brlewis at mit.edu
Sat Jun 22 01:31:33 AEST 1991


I'm porting an application to run at Project Athena at MIT, where we use
BSD 4.3 Unix.  In this application, one key file depends on values.h,
which does not exist on our BSD platforms.  I need to get the following
constants defined, and would like to do it in a portable manner:

MAXDOUBLE undefined
MINDOUBLE undefined
MAXFLOAT undefined
MINFLOAT undefined
M_LN2 undefined
M_LOG10E undefined
_EXPBASE undefined
DSIGNIF undefined
FSIGNIF undefined
MAXLONG undefined
FMINEXP undefined
FMAXEXP undefined
DMINEXP undefined
DMAXEXP undefined

Has anyone else solved this problem, or can anyone suggest a portable
solution?

Many thanks.

--
Bruce R Lewis
Applications Development
MIT Project Athena



More information about the Comp.unix.questions mailing list