Skip to content

Spurious number configuration warning. #3538

@gwhitney

Description

@gwhitney

with math.js 14.6.0

math.config({
  number: "bigint", 
  precision: 998,
  relTol: 1e-320,
  absTol: 1e-323,
  numberFallback: "BigNumber"
});

send a warning in console when setting number: 'bigint' ( but it's only a warning )
Warning: Unknown value "bigint" for configuration option "number". Available options: "number", "BigNumber", "Fraction"

This is clearly a bug; bigint is an explicitly sanctioned allowed value for number config.

Originally posted by @nycos62 in #3533 (reply in thread)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions