Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Emit clojure.lang.BigInt & applicable Long as JS BigInt#214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
swannodette wants to merge10 commits intomaster
base:master
Choose a base branch
Loading
frombigint
Open
Changes from1 commit
Commits
Show all changes
10 commits
Select commitHold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
* some basic arithmetic cases
  • Loading branch information
@swannodette
swannodette committedSep 26, 2023
commitec1e56f298f30f45947b928a21b80c6c93527b17
6 changes: 5 additions & 1 deletionsrc/test/cljs/cljs/bigint_test.cljs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,7 +36,11 @@
(is (= (js/BigInt 1) 1))
(is (= 1 (js/BigInt 1))))
(testing "Interaction with core"
(is (= (range 1 5) (range 1 5N)))))
(is (= (range 1 5) (range 1 5N))))
(testing "Arithmetic"
(is (= 2 (+ 1 1N)))
(is (= 0.5 (/ 1N 2)))
(is (= 4N (* 2N 2)))))

(comment

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp