[comp.unix.questions] getting SYSV values.h functionality in BSD4.3

brlewis@mit.edu (Bruce R Lewis) (06/21/91)

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