Skip to content

Commit

Permalink
Move comment for asUnsignedLong()
Browse files Browse the repository at this point in the history
  • Loading branch information
easye committed Sep 11, 2023
1 parent bf098e3 commit 3cd1945
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/armedbear/lisp/LispInteger.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public static LispInteger getUnsignedInstance(long l) {
return getInstance(l);
}

// TODO ??? consider asUnsignedLong should be an instance method
public static long asUnsignedLong(LispInteger i) {
if (i instanceof Bignum) {
return ((Bignum)i).value.longValue();
Expand Down

0 comments on commit 3cd1945

Please sign in to comment.