[comp.unix.ultrix] VAX double precision floating point

mishkin@apollo.uucp (Nathaniel Mishkin) (10/09/87)

Does anyone happen to know whether the Ultrix C compiler has a way to
control whether "double" means "D" or "G" double precision floating
point?  (I would RTFM if I had one.)

                    -- Nat Mishkin
                       Apollo Computer Inc.
                       Chelmsford, MA
                       {wanginst,yale,mit-eddie}!apollo!mishkin


[ Yes, you can do this.  On the cc command line, specify -Md
for D format numbers (the default) or -Mg for G format
numbers.  If you use G format numbers and functions from the
math library then you must also load with -lmg instead of
-lm.

    -- Art Z. ]