Skip to content

Wrong String for reciprocals #161

Open
@hypcos

Description

@hypcos

Input: Decimal.pow10(9996).pow10().recip()+''
Expect: 'e-e9996'
Output: 'ee-9996.000000000005'

This is VERY wrong.
ee-X means 10^(10^(-X)), which is not the reciprocal of 10^10^X, instead it is a number just a little bit bigger than 1.
e-eX (with big X) means 10^(-(10^X)), which is the reciprocal of 10^10^X.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions