Skip to content

Built-in function power10 doesnt seem to exist #2566

Closed
@hansonchar

Description

@hansonchar

Describe the bug
Under List-of-Built-in-Functions:

pow10/0

But

$ jq -nc 'pow10'
jq: error (at <unknown>): Error: pow10/0 not found at build time

Furthermore, under Math, pow10 is listed as a one-input C-math function, but

$ jq -nc 'pow10(1)'
jq: error: pow10/1 is not defined at <top-level>, line 1:
pow10(1)
jq: 1 compile error

Environment (please complete the following information):

$ uname -a
Darwin ... 21.6.0 Darwin Kernel Version 21.6.0: Mon Dec 19 20:44:01 PST 2022; root:xnu-8020.240.18~2/RELEASE_X86_64 x86_64

$ jq --version
jq-1.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions