跳转至

Logarithm with base(指定底数的对数)

Supported in: Batch, Faster, Streaming

Calculates logarithm with a given base.

Expression categories: Numeric

Declared arguments

  • Base: no description
    Literal\
  • Expression: no description
    Expression\

Output type: Double

Examples

Example 1: Base case

Argument values:

  • Base: 2.0
  • Expression: 8

Output: 3.0


Example 2: Null case

Argument values:

  • Base: 2.0
  • Expression: null

Output: null



中文翻译

指定底数的对数

支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)

计算指定底数的对数。

表达式类别: 数值型(Numeric)

声明的参数

  • 底数(Base): 无描述
    字面量\
  • 表达式(Expression): 无描述
    表达式\

输出类型: Double

示例

示例 1:基本情形

参数值:

  • 底数: 2.0
  • 表达式: 8

输出: 3.0


示例 2:空值情形

参数值:

  • 底数: 2.0
  • 表达式: null

输出: null