Skip to content

Replace placeholder implementation of root to get exact cases right. #41

Open
@Roman-Kerimov

Description

@Roman-Kerimov

print(Foundation.cbrt(1000.0)) // 10.0
print(Double.pow(1000.0, 1.0/3.0)) // 9.999999999999998

Calculation through "pow" gives a different result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions