home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / c / 11734 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.4 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!news.edu.tw!news!debbie!daniel!linsbin
  2. From: linsbin@cc.nctu.edu.tw (Lin shyh bin)
  3. Newsgroups: comp.lang.c
  4. Subject: Q : Using 128 bits on VAX C ?
  5. Message-ID: <1992Jul30.021134.27861@debbie.cc.nctu.edu.tw>
  6. Date: 30 Jul 92 02:11:34 GMT
  7. Sender: usenet@debbie.cc.nctu.edu.tw (News Sender)
  8. Organization: National Chiao Tung University
  9. Lines: 27
  10. X-Newsreader: Tin 1.1 PL4
  11.  
  12. Hi, netters :
  13.  
  14.     I only know it's available to use a 128 bits floating point number on VAX
  15.  
  16. FORTRAN (guad precision: REAL*16). And the VAX FORTRAN also support the math
  17.  
  18. library functions with a guad precision floating point number, just as
  19.  
  20. REAL*16 QSIN(REAL*16), REAL*16 QSIN(REAL*16), ...... etc. But I can't use the
  21.  
  22. 128 bits floating point number on VAX C, it just allow to use the double 
  23.  
  24. precision type (64 bits). And it also only support the double precision type
  25.  
  26. of the math library functions.
  27.  
  28.    Could anyone tell me how to use guad precision type on VAX C ?  Or does it
  29.  
  30. have another solution method to get 128 bits precision on VAX C ?  By the way,
  31.  
  32. the "using /G_FLOAT on compiling" seems useful. How does it work ?
  33.  
  34.    Thanks in advance !!!
  35.  
  36.                                                    Sbin Lin
  37.                                         Internet : u7822044@cc.nctu.edu.tw   
  38.                                         Bitnet   : 7822044@TWNCTU02
  39.