Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!oliveb!felix!zemon From: mishkin@apollo.uucp (Nathaniel Mishkin) Newsgroups: comp.unix.ultrix Subject: VAX double precision floating point Message-ID: <8590@felix.UUCP> Date: Fri, 9-Oct-87 13:29:57 EDT Article-I.D.: felix.8590 Posted: Fri Oct 9 13:29:57 1987 Date-Received: Mon, 12-Oct-87 19:26:43 EDT Sender: zemon@felix.UUCP Organization: Apollo Computer, Chelmsford, MA Lines: 17 Keywords: float, double, VAX, Ultrix Approved: zemon@felix.UUCP (Art Zemon) Summary: Is twice as much double the fun? 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. ]