Skip to content

Issues with the docs. #817

@haydenwong7bm

Description

@haydenwong7bm

In the Utility functions section:

fsub():
Exact addition can be inefficient and may be impossible to perform with large magnitude differences:

It should be:

Exact subtraction can be inefficient and may be impossible to perform with large magnitude differences:


mag():
Quick logarithmic magnitude estimate of a number…

But the implementation should return the exponent exactly (if I am correct), maybe change to:

Returns an integer or infinity m such that 2m-1 ≤ |x| < 2m.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviordocs

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions