Skip to content

Latest commit

 

History

History
153 lines (116 loc) · 1.58 KB

File metadata and controls

153 lines (116 loc) · 1.58 KB

log2

log2 returns the base 2 logarithm of x,

i.e. the value y which satisfies x = 2^y. The result is

undefined if x \leq 0.

log2(float)

Parameter

x Type: float

Return Value

Type: float

JSON
{
  "Type": "log2(float)",
  "Name": "log2(float)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "float"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "float"
    }
  ]
}

log2(vec2)

Parameter

x Type: vec2

Return Value

Type: vec2

JSON
{
  "Type": "log2(vec2)",
  "Name": "log2(vec2)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "vec2"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec2"
    }
  ]
}

log2(vec3)

Parameter

x Type: vec3

Return Value

Type: vec3

JSON
{
  "Type": "log2(vec3)",
  "Name": "log2(vec3)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "vec3"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec3"
    }
  ]
}

log2(vec4)

Parameter

x Type: vec4

Return Value

Type: vec4

JSON
{
  "Type": "log2(vec4)",
  "Name": "log2(vec4)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "vec4"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec4"
    }
  ]
}