diff options
author | christos <christos@NetBSD.org> | 2009-03-31 18:48:16 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 2009-03-31 18:48:16 +0000 |
commit | b8dce3698624f02a90d3120a57c399d141e00fc2 (patch) | |
tree | ca2bac30b0aa045143b1ed99a8e5e7ca5645b9b5 /trek/trek.h | |
parent | df25e08ef3bbcd6e7f205249eaaaf44635eb266e (diff) | |
download | bsdgames-darwin-b8dce3698624f02a90d3120a57c399d141e00fc2.tar.gz bsdgames-darwin-b8dce3698624f02a90d3120a57c399d141e00fc2.tar.zst bsdgames-darwin-b8dce3698624f02a90d3120a57c399d141e00fc2.zip |
Avoid hardcoded "too large" constant that caused FPE on the vax.
XXX: Should pullup to 5.0
Diffstat (limited to 'trek/trek.h')
-rw-r--r-- | trek/trek.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trek/trek.h b/trek/trek.h index 62ac1df8..92e7912b 100644 --- a/trek/trek.h +++ b/trek/trek.h @@ -1,4 +1,4 @@ -/* $NetBSD: trek.h,v 1.11 2005/02/15 12:54:50 jsm Exp $ */ +/* $NetBSD: trek.h,v 1.12 2009/03/31 18:48:16 christos Exp $ */ /* * Copyright (c) 1980, 1993 @@ -370,6 +370,8 @@ extern struct Etc_struct Etc; # define xTRACE 1 extern int Trace; +# define TOOLARGE (DBL_MAX / 2) /* < DOUBLE_MAX for everyone */ + /* abandon.c */ void abandon(int); |