Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-adm!brl-smoke!smoke!tho%carcvax.uconn.csnet@csnet-relay.arpa From: tho%carcvax.uconn.csnet@csnet-relay.arpa (Tho Tran) Newsgroups: net.unix-wizards Subject: Does C support G_ and H_ floating point arithmetic? Message-ID: <2480@brl-smoke.ARPA> Date: Tue, 8-Apr-86 21:52:18 EST Article-I.D.: brl-smok.2480 Posted: Tue Apr 8 21:52:18 1986 Date-Received: Thu, 10-Apr-86 08:30:45 EST Sender: news@brl-smoke.ARPA Lines: 29 Is is true that the C compiler on the VAX does not support all floating point data types provided by the VAX macro assembler? If you look at what is available on the VAX macro assembler, there are four groups of floating point instructions, one for each floating point data type: F_floating, D_floating, G_floating, and H_floating. F_floating is of float and D_floating of double. For instance, when you have a program as listed below, variables a and b are treated as D_float; which is clearly shown if you compile with the -S option that generates assembler code. main () { double a, b; a=1; b=1; a = a +b; } Can anyone tell me how to force the C compiler to use the G_float or H_float? Please respond by E-mail to: tho%swevax.uconn.csnet@csnet-relay thanks -tho