Skip to content

round #472

@jverzani

Description

@jverzani

This came up in https://discourse.julialang.org/t/how-to-round-whole-matrix-like-numpy-round/84897

What should be the proper semantics of round for Sym objects:

  • sympy.round() fails on symbolic objects (seems excessive, but what should the result of round(x) be? Could be a delayed call or just x
  • sympy.round() only supports digits, not sigdigits or base, as Base.round
  • sympy.round() does not support rounding modes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions