Author Topic: Lambert W Function  (Read 2043 times)

jj2007

  • Member
  • *****
  • Posts: 11130
  • Assembler is fun ;-)
    • MasmBasic
Re: Lambert W Function
« Reply #15 on: October 13, 2020, 08:50:19 PM »
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

  • Regular Member
  • *
  • Posts: 1
Re: Lambert W Function
« Reply #16 on: November 09, 2020, 07:36:50 PM »
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

  • Member
  • *****
  • Posts: 11130
  • Assembler is fun ;-)
    • MasmBasic
Re: Lambert W Function
« Reply #17 on: November 09, 2020, 10:53:49 PM »
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?