Skip to content

Commit

Permalink
Add unit test for "mpzT" integer type
Browse files Browse the repository at this point in the history
  • Loading branch information
d-torrance committed Jul 13, 2023
1 parent d02f9f1 commit 8c72cdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions M2/Macaulay2/packages/ForeignFunctions.m2
Original file line number Diff line number Diff line change
Expand Up @@ -1890,6 +1890,7 @@ longexp = 8 * version#"pointer size"
assert Equation(value ulong(2^longexp - 1), 2^longexp - 1)
assert Equation(value long(2^(longexp - 1) - 1), 2^(longexp - 1) - 1)
assert Equation(value long(-2^(longexp - 1)), -2^(longexp - 1))
assert Equation(value mpzT 10^100, 10^100)

-- real types
assert Equation(value float 3.14159, 3.14159p24)
Expand Down

0 comments on commit 8c72cdf

Please sign in to comment.