Skip to content

rationalize method for integer #43564

Closed
Closed
@ErikQQY

Description

@ErikQQY

Hello guys, I notice the rationalize method is only supporting floating point numbers, and support for complex floating point numbers are in process, I think maybe this method should also support rationalizing integer.

In Matlab, there are rats method to get rationalized expression of any number, floating point numbers, complex numbers and integer.

And in python, there is also integer numbers rationalizing method.

So I think the rationalize(x::Integer; tol::Real) should be included in this method.

Would be happy to hear your thoughts.

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