Skip to content

pas2js - Missing tan functions in unit math

Missing tan functions in unit math

Would it be possible to add the following functions to unit mat ?

function Tan(const A : Double): Double; external name 'Math.tan';

function ArcTan(const A : Double): Double; external name 'Math.atan';

function ArcTan2(const y, x : Double): Double; external name 'Math.atan2';

function ArcTanh(const A : Double): Double; external name 'Math.atanh';

// evtl.

function cbrt(const A : Double): Double; external name 'Math.cbrt';

function clz32(const A : Double): Double; external name 'Math.clz32';

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information