Displaying 3 results from an estimated 3 matches for "dbl_min_exp".
1999 Apr 12
1
compiling R-0.64.0 on DEC osf4.0
...-I../include -I../../src/include -c pnf.c -o pnf.o
cc -ieee_with_inexact -g -I../include -I../../src/include -c pnt.c -o pnt.o
cc: Error: pnt.c, line 83: In this statement, "1021" is not an lvalue, but occurs in a context that requires one.
if (df > 4e5 || del*del > 2*M_LN2*(-DBL_MIN_EXP)) {
---------------------------------------^
gmake[2]: *** [pnt.o] Error 1
gmake[2]: Leaving directory `/home/ming/R-0.64.0/src/nmath'
gmake[1]: *** [R] Error 1
gmake[1]: Leaving directory `/home/ming/R-0.64.0/src'
gmake: *** [R] Error 1
When I changed this line into
if (df > 4e5...
1999 Apr 10
2
IRIX compile (PR#163)
...enjoy, tim...
===
diff -ru orig/R-0.64.0/src/nmath/pnt.c R-0.64.0/src/nmath/pnt.c
--- orig/R-0.64.0/src/nmath/pnt.c Wed Apr 7 02:45:48 1999
+++ R-0.64.0/src/nmath/pnt.c Sat Apr 10 13:02:45 1999
@@ -80,7 +80,7 @@
del = -del;
}
- if (df > 4e5 || del*del > 2*M_LN2*(-DBL_MIN_EXP)) {
+ if (df > 4e5 || del*del > 2*M_LN2*(-(DBL_MIN_EXP))) {
/*-- 2nd part: if del > 37.62, then p=0 below
FIXME: test should depend on `df', `tt' AND `del' ! */
/* Approx. from Abramowitz & Stegun 26.7.10 (p.949) */
-.-.-.-.-.-.-.-.-....
2000 Sep 09
1
floating point exceptions, and questions
#include <float.h>
should define DBL_MIN and FLT_MIN, as well as
DBL_MIN_EXP and FLT_MIN_EXP (such that 10eFLT_MIN_EXP is a valid float)
This is a standard header file. But gcc now hides it away (mine was
in /usr/lib/gcc-lib/i386-linux/<compiler-version>/include/ )
BTW - any corrections for my surf.chimie.uqam.ca/~kruus/vorbis/ stuff?
Erik Kruus <kruus@on2.com&...