Skip to content

functions_logarithmic.yaml

This document file is generated for functions_logarithmic.yaml

Scalar Functions

ln

Implementations:
ln(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, x): -> return_type
0. ln(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, fp32): -> fp32
1. ln(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, fp64): -> fp64

Natural logarithm of the value

Options:
  • rounding ['TIE_TO_EVEN', 'TIE_AWAY_FROM_ZERO', 'TRUNCATE', 'CEILING', 'FLOOR']
  • on_domain_error ['NAN', 'ERROR']
  • on_log_zero ['NAN', 'ERROR', 'MINUS_INFINITY']
  • log10

    Implementations:
    log10(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, x): -> return_type
    0. log10(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, fp32): -> fp32
    1. log10(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, fp64): -> fp64

    Logarithm to base 10 of the value

    Options:
  • rounding ['TIE_TO_EVEN', 'TIE_AWAY_FROM_ZERO', 'TRUNCATE', 'CEILING', 'FLOOR']
  • on_domain_error ['NAN', 'ERROR']
  • on_log_zero ['NAN', 'ERROR', 'MINUS_INFINITY']
  • log2

    Implementations:
    log2(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, x): -> return_type
    0. log2(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, fp32): -> fp32
    1. log2(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, fp64): -> fp64

    Logarithm to base 2 of the value

    Options:
  • rounding ['TIE_TO_EVEN', 'TIE_AWAY_FROM_ZERO', 'TRUNCATE', 'CEILING', 'FLOOR']
  • on_domain_error ['NAN', 'ERROR']
  • on_log_zero ['NAN', 'ERROR', 'MINUS_INFINITY']
  • logb

    Implementations:
    logb(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, x, base): -> return_type

  • x: The number `x` to compute the logarithm of
  • base: The logarithm base `b` to use
  • 0. logb(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, fp32, fp32): -> fp32
    1. logb(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, fp64, fp64): -> fp64

    *Logarithm of the value with the given base logb(x, b) => log_{b} (x) *

    Options:
  • rounding ['TIE_TO_EVEN', 'TIE_AWAY_FROM_ZERO', 'TRUNCATE', 'CEILING', 'FLOOR']
  • on_domain_error ['NAN', 'ERROR']
  • on_log_zero ['NAN', 'ERROR', 'MINUS_INFINITY']
  • log1p

    Implementations:
    log1p(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, x): -> return_type
    0. log1p(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, fp32): -> fp32
    1. log1p(opt_enum:rounding, opt_enum:on_domain_error, opt_enum:on_log_zero, fp64): -> fp64

    *Natural logarithm (base e) of 1 + x log1p(x) => log(1+x) *

    Options:
  • rounding ['TIE_TO_EVEN', 'TIE_AWAY_FROM_ZERO', 'TRUNCATE', 'CEILING', 'FLOOR']
  • on_domain_error ['NAN', 'ERROR']
  • on_log_zero ['NAN', 'ERROR', 'MINUS_INFINITY']