ts-7000
[Top] [All Lists]

Re: [ts-7000] Floating point

To:
Subject: Re: [ts-7000] Floating point
From: "Eddie Dawydiuk" <>
Date: Wed, 29 Mar 2006 12:16:40 -0700 (MST)
> No, not directly, however the glibc version of _dtoa that the gnu
> classpath from java calls seems to be wonky
>
> I get numbers like 25.0000000876 for 25.0

In the past people have had problems with using different version of
gcc when crosscompiling. Also there was a problem with glibc about
a year ago that has been corrected...

So if you run the following program what is the output?


   #include <stdio.h>
   int main(int argc, char **argv) {

           double d = 25.0;
           printf("25.0 = %10.10f\n",d);
           return 0;
   }

I've also included a binary to help troubleshoot the problem...

//Eddie

> On 24-Mar-06, at 7:44 PM, Yan Seiner wrote:
>
>> Has anyone worked with floating point on this board?  I am
>> experiencing some problems - getting garbage and segfaults while
>> using floating point math - and I want to eliminate the kernel
>> emulation code as a possible source.
>>
>> I doubt it is the kernel code, but I want to make sure....
>>
>> --Yan
>>
>>
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Attachment: test
Description: Binary data

Attachment: test.c
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU