Path: utzoo!attcan!uunet!mcsun!unido!kivax!ohl From: ohl@kivax.UUCP (Ralf Ohlhausen) Newsgroups: comp.unix.xenix Subject: Re: Bug in rcc (SCO UNIX V.3.2/386) Summary: more specific Keywords: SCO UNIX, rcc Message-ID: <591@kivax.UUCP> Date: 12 Feb 90 12:59:58 GMT References: <590@kivax.UUCP> Organization: MANNESMANN KIENZLE W-GERMANY Lines: 21 In article <590@kivax.UUCP>, ohl@kivax.UUCP (Ohlhausen Abt.013.4) writes: > I found a bug in rcc (AT&T C-compiler in SCO Unix V.3.2/386) which occurs when > using floating point constants with significant digits after the decimal point: > > float f; > f = 0.1; > printf("f = %f\n",f); > > Output is: f = 1.000000 In the meantime I found out that the bug occurs only if the environment variable LANG is set to german_germany.8859 during the compilation. Poor German :-( . BTW: Greetings to the french_france.8859 people. You have the same problem! :-) Since the assembler code - produced with the -S option - shows no difference, I believe that he's the one who doesn't like my language. -- -- Ralf Ohlhausen * e-mail: ohl@kivax.uucp * In all probability Mannesmann Kienzle GmbH * Europe: ..!mcvax!unido!kivax!ohl * this is once again 7730 VS-Villingen FRG * USA: ..!uunet!unido!kivax!ohl * only my opinion !