dglux5_wiki:dataflow:dataflow_blocks_reference:math_operations:logarithm

Action unknown: plugin_bookcreator__addtobook

Logarithm

Block Group: Math Operations
Icon:Logarithm block icon

The Logarithm block calculates the logarithm of a number using a specified base.

For information on using dataflow blocks, see Dataflow.

For accepted and excluded arguments of Math Operations blocks, see Math Operations.


The following properties of the Logarithm block can take input and give output.

  • input (number)
  • base (number)

input specifies the number to get the logarithm for.

base specifies the base for the logarithm. The default is 10. This property is not shown on the block itself; set it in the block property inspector (the right-hand panel of the dataflow window) or bind to it.


The following property of the Logarithm block can give output but cannot take input.

  • output (number)

output returns the logarithm for the specified input and base.


A negative input value causes a NaN error result to be returned.


The following image shows four examples of the Logarithm block.

Logarithm block examples


  • dglux5_wiki/dataflow/dataflow_blocks_reference/math_operations/logarithm.txt
  • Last modified: 2026/10/22 13:25
  • by 127.0.0.1