# Thread: [RESOLVED] Strange arithmetical error with double precision

1. ## [RESOLVED] Strange arithmetical error with double precision

I 'm sitting for hours infront of my computer staring in disbelief.
I 'm writing a simple piece of code like:

x1# = 5
y1# = x1#
x2# = 10
y2# = y1# + x2#

The answer comes out as y1# = 0, y2# = 0 !

2. ## Re: Strange arithmetical error with double precision

That code exactly as is works fine for me.

Post the actual code, you're probably overlooking something like scope or changes taking place elsewhere.

3. ## Re: Strange arithmetical error with double precision

Originally Posted by johnywalker
I 'm sitting for hours infront of my computer staring in disbelief.
I 'm writing a simple piece of code like:

x1# = 5
y1# = x1#
x2# = 10
y2# = y1# + x2#

The answer comes out as y1# = 0, y2# = 0 !

Bs.
Thanks to posting here I found out.
I tried to repost a more complete piece of code and strange symbols appeared.
There were Greek letters where they should n't and those come out as symbols here !
Some of the Greek letters are look alike with the Latin ones.

4. ## Re: Strange arithmetical error with double precision

so? fix the Greek Letters, and repost....no???

5. ## Re: Strange arithmetical error with double precision

Originally Posted by SamOscarBrown
so? fix the Greek Letters, and repost....no???
It works now.
Could be seen only because Greek letters cannot be printed in this page when I coppy-paste and something else appeared.

6. ## Re: Strange arithmetical error with double precision

Cool...can you mark this Thread as RESOLVED, then? Thx

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•