News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Lambert W Function

Started by guga, August 19, 2020, 11:16:17 AM

Previous topic - Next topic

jj2007

Fascinating but way over my head :thumbsup:

For implementing it, I would need a file with a few thousand x/y pairs in REAL10 format. If somebody can create one with the boost library, I can supply the Assembly proxy for comparisons and benchmarks, using FastMath. Below an example using a Log10 function.

  FastMath FastLog10    ; define a math function
       For_ fct=0.0 To 10.0 Step 0.5    ; max 10,000 iterations
                fld fct                 ; X
                fstp REAL10 ptr [edi]
                void Log10(fct)         ; Y (built-in MasmBasic function)
                fstp REAL10 ptr [edi+REAL10]
                add edi, 2*REAL10
        Next
  FastMath
  Print Str$("Log(5.0)=%Jf", FastLog10(5)v)

toudan022

Quote from: jack on August 21, 2020, 05:02:53 AM
Hi guga
some time ago I implemented the expert SEO Paris LambertW function in FreeBasic if you are interested I can post the code
I use it in a dll,not in dll with always the same result,failed.

jj2007

Wow, bot #3 today! What's going on, an attack on SMF? When will they finally realise that new members shouldn't be allowed any links?