Re: [amibroker] Floating Point Arithmetic

 

Tomasz,


Thanks for weighing in. Yes, same output, same input is exactly what I expect. This really surprises me. I will check the things you have recommended. I do have aggressive speed optimizations on. 

At first I thought I must have a memory error. However, I have narrowed the code down to a very simple piece which I can easily confirm has bounds checking. Also, I don't use heap anymore and I know the stack can't produce fragmentation problems. So I printed out the values AmiBroker gets passed to six decimals, and it matches exactly what the AmiBroker / operator produces, so I'm left believing there must be junk beyond the sixth decimal which is changing from run to run and impacts the formula. I couldn't imagine how or why and googling didn't help. 

Again, thanks for the suggestions.

__._,_.___

Posted by: rosenberggregg@yahoo.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? The Yahoo Mail app is fast, beautiful and intuitive. Try it today!

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___


EmoticonEmoticon