Jump to content

Photo

Diamond GOS math function test - HELP request

Diamond

No replies to this topic

#1 k-Pack OFFLINE  

k-Pack

    Star Raider

  • 53 posts
  • Location:Buffalo, NY

Posted Tue Jun 5, 2018 8:54 AM

The dMetronome project was my first requiring multibyte math. Now I want to modifiy the Diamond Macros for Multiply and Divide to make them easier to use.  I have written the test program and am getting unexpedted results for the MULTIPLY function.

 

I'm hoping someone can/will run the MATHTEST.APP and let me know their results.  I would like to varifiy resutls for Diamond 2.0 and 3.0. The program simply lists the following numbers in HEX. 

 

1 number 1

2 number 2

3 multpication result

4 division result

5 division remainder

 

Once the numbers are displayed the program waits for an event(key press or mouse click) and returns to the desktop.

 

I have included the source code but not the modified macro file. I will post in the "Diamond in the Rough" blog when I understand the problem(s) I'm having.

 

Thanks in advance.

Attached Files







Also tagged with one or more of these keywords: Diamond

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users