diff --git a/extensions/functions_logarithmic.yaml b/extensions/functions_logarithmic.yaml index 8f9925c28..e8cc43ae9 100644 --- a/extensions/functions_logarithmic.yaml +++ b/extensions/functions_logarithmic.yaml @@ -102,5 +102,31 @@ scalar_functions: name: "base" description: "The logarithm base `b` to use" return: fp64 + - + name: "log1p" + description: > + Natural logarithm (base e) of 1 + x + log1p(x) => log(1+x) + impls: + - args: + - name: rounding + options: [ TIE_TO_EVEN, TIE_AWAY_FROM_ZERO, TRUNCATE, CEILING, FLOOR ] + required: false + - name: on_domain_error + options: [ NAN, ERROR ] + required: false + - name: x + value: fp32 + return: fp32 + - args: + - name: rounding + options: [ TIE_TO_EVEN, TIE_AWAY_FROM_ZERO, TRUNCATE, CEILING, FLOOR ] + required: false + - name: on_domain_error + options: [ NAN, ERROR ] + required: false + - name: x + value: fp64 + return: fp64