This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 2004-08-16 at 02:34:18 Lennert Buytenhek wrote: > (You're also Dutch?) Ja. :) > I think it's applied correctly? I'm trying this with hardfloat, if > I use fpa or vfp softfloat it does print the right number. Hm, it sure still looks like glibc has swapped it around... > volatile float x; > x = 1.0; > printf("%f\n", x); Right, maybe something goes wrong here when the float is promoted to double. Can you try declaring x as double?
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |