Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Integer division always returns a fractions.Fraction even if the result is a whole integer #1140

Copy link
Copy link
Closed
@chrisrink10

Description

@chrisrink10
Issue body actions

Basilisp's / function is returning fractions for integer division even when the result is itself an integer.

(/ 3000 1000) ;;=> 3/1

In Clojure:

(/ 3000 1000) ;;=> 3

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.