Skip to content

Vector Logarithms ​

These instructions evaluate logarithms element by element.

OpcodeArgumentsOperands (stack)Description
lnvtypevaluesReplaces one numeric array with an equal-length array of natural logarithms; type must be hlf, flt, or dbl.
log2vtypevaluesReplaces one numeric array with an equal-length array of base-2 logarithms; type must be hlf, flt, or dbl.
log10vtypevaluesReplaces one numeric array with an equal-length array of base-10 logarithms; type must be hlf, flt, or dbl.