Re[4]: strange performance problem

  • From: vostrikov <vostrikov@xxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Thu, 02 Jul 2015 12:00:39 +0300




Четверг, 2 июля 2015, 9:51 +01:00 от Stefano <phd.st.p@xxxxxxxxx>:

You can avoid the C wrapper by lying about the function signature:
complex csqrt(double re, double im);
Returning structs (and complex is a struct under the hood) is NYI.
Trick with passing complex as pair of doubles will work (and my example uses
it) on x64.

Other related posts:

  • » Re[4]: strange performance problem - vostrikov