nolanderc / glsl_analyzer

Language server for GLSL (autocomplete, goto-definition, formatter, and more)
GNU General Public License v3.0
188 stars 5 forks source link

Description of exp() wrongly called it "pow" #22

Closed GeForceLegend closed 11 months ago

GeForceLegend commented 11 months ago

Line 7215 in spec/spec.json

    {
      "return_type": "genType",
      "name": "exp",
      "parameters": [
        {
          "type": "genType",
          "name": "x"
        }
      ],
      "description": [
        "`pow` returns the natural exponentiation of _x_. i.e., `e**x`."  // <- Here
      ],
      "versions": [
        110,
        120,
        130,
        140,
        150,
        330,
        400,
        410,
        420,
        430,
        440,
        450
      ]
    },
nolanderc commented 11 months ago

Nice catch!

Looks like an error upstream: https://github.com/BSVino/docs.gl/blob/080c215e49bc57289e2490008adcf990a5244312/sl4/exp.xhtml#L43

nolanderc commented 11 months ago

This was fixed in upstream, and now part of v1.1.5