Skip to content

round(x, ::RoundingMode) is not documented #9995

Closed
@jiahao

Description

@jiahao

The new RoundingModes are not documented.

Also, the documentation for round is no longer accurate for 0.4...?

   "round(x)" returns the nearest integral value of the same type as
   "x" to "x", breaking ties by rounding away from zero.

On 0.4-dev:

julia> round(0.5)
0.0

On release-0.3:

julia> round(0.5)
1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsThis change adds or pertains to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions