What is "largest relative spacing"? 
Author Message
 What is "largest relative spacing"?

Hi everyone,

I'm manually translating some code in quadpack into C, and ran
into the following problem:  some of the subroutines I'm translating
call the function D1MACH() in slatec, which gives machine dependent
constants.  Some of the constants I can replace with those defined in
values.h, but this is one that I don't know what to do with:

D1MACH(4) = B**(1-T), the largest relative spacing.
Assume double precision numbers are represented in the T-digit,
base-B form
  sign(B**E)*( (X(1)/B) + ... + X(T)/B**T) )
where 0 .LE. X(I) .LT. B for I=1,...,T, 0.LT.X(1).

Can someone tell me what this is?  Better yet, how do I get this
constant in C?

Thanks in advance.

--
Andy I. Liaw                     Department of Statistics  

(409) 845-5757                   College Station, TX 77845-3143



Sun, 02 Nov 1997 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Largest relative spacing

2. string.join(["Tk 4.2p2", "Python 1.4", "Win32", "free"], "for")

3. "out of space" error

4. "Get Disk Free Space" for NTFS

5. Gnat301a "Out of Space" msg

6. print "foo", without a space

7. error writing "stdout": no space left on device

8. Common Lisp in the "embedded" space

9. How the bind "Space bar"???

10. "space"

11. large "stdio" read-back buffer handling

12. TCl Too "Large"?

 

 
Powered by phpBB® Forum Software