News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Broad Data Type (large numbers)

Started by i Z !, April 06, 2023, 09:04:34 PM

Previous topic - Next topic

i Z !

Please test out my new chained balanced number calc API:
https://github.com/SilverfoxSystems/BroadLib/

In VB.NET + x64 native dll (built with MASM, of course)...

The output of the example:

The first operation's

For i = 0 To 6100
   a.Multiply(5000001)
Next

result after multiplying number 1 by 5000001 6101 time (mathematically, this equals to 50000016101) gives us:


+25164886e+2121
+1422148752185721623e+2120
+6963071817127141528e+2119
-1253503209065829446e+2118
-2720155040703081208e+2117
-6139238349445607654e+2116
+659240562815459102e+2115
+ ...


Keep in mind that e+2121 means (264)2121


The second operation


For i = 0 To 6100
   a.Divide(5000001)
Next



produces the resulting value back to 1 -> a(0) = 1

If we divide again, that is, perform the above operation again (6101 time divide 1 by 5000001), we get the following result:


+733035071854e-2122
-8347354123734555380e-2123
+130731725961279415e-2124
-6132637542230523750e-2125
+8288682421849758113e-2126
+4228682366386341133e-2127
+2189847801768379705e-2128
+ ...




i Z !

I guess I take pleasure from reinventing the wheel  :smiley: Kindly see the updated post above.

i Z !

If anyone downloaded the zip file from the link given on GitHub prior to the last update, the zip file might've been corrupt. The server code I've written was increasing the first QWord in the zip file instead of in the download counter   :smiley:

i Z !

Nobody wants to test out my supercalc :(((((((

zedd151

Quote from: i Z ! on June 23, 2023, 05:17:21 AM
Nobody wants to test out my supercalc :(((((((
I would take it for a 'test drive' but I'm only running with half a tank (32 bit OS).  :tongue:

i Z !

Quote from: zedd151 on June 23, 2023, 05:30:51 AM
I would take it for a 'test drive' but I'm only running with half a tank (32 bit OS).  :tongue:

:biggrin:

HSE

Quote from: i Z ! on June 23, 2023, 05:17:21 AM
Nobody wants to test out my supercalc :(((((((

There are no assembly files.
Equations in Assembly: SmplMath

i Z !

Quote from: HSE on June 23, 2023, 06:41:28 AM
There are no assembly files.

http://izi.wtf/broadops/download.aspx

jj2007

Quote from: i Z ! on June 23, 2023, 02:34:03 PM
Quote from: HSE on June 23, 2023, 06:41:28 AM
There are no assembly files.

http://izi.wtf/broadops/download.aspx

Still no assembly files, but an email :thumbsup:

I've seen .com, .org, .it, .info and many others, but .wtf was new to me, wow :eusa_dance:

i Z !

Quote from: jj2007 on June 23, 2023, 06:22:07 PM

Still no assembly files, but an email :thumbsup:

I've seen .com, .org, .it, .info and many others, but .wtf was new to me, wow :eusa_dance:

yeah, the zip file contains a .dll which needs to be placed into the VS solution (with option "Copy to output dir" enabled). The asm code isn't open source.

I think I grabbed that domain shortly after .wtf's became available for few quid, but prolongation for next year is over 30€