Skip to content

Commit 561eb94

Browse files
committed
change BigInt to rawtype
1 parent e9b2da1 commit 561eb94

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/fixed.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ end
150150
# issue #120
151151
for T in generate_fixedpoint_types(:Fixed)
152152
T_ints = T.(clamp.(rand(rawtype(T), 500, 500),
153-
ceil(BigInt, floattype(T)(typemin(T))),
154-
floor(BigInt, floattype(T)(typemax(T)))))
153+
ceil(rawtype(T), floattype(T)(typemin(T))),
154+
floor(rawtype(T), floattype(T)(typemax(T)))))
155155
@test all(isinteger.(T_ints))
156156
end
157157
end

test/normed.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,8 @@ end
349349
# issue #120
350350
for T in generate_fixedpoint_types(:Normed)
351351
T_ints = T.(clamp.(rand(rawtype(T), 500, 500),
352-
ceil(BigInt, floattype(T)(typemin(T))),
353-
floor(BigInt, floattype(T)(typemax(T)))))
352+
ceil(rawtype(T), floattype(T)(typemin(T))),
353+
floor(rawtype(T), floattype(T)(typemax(T)))))
354354
@test all(isinteger.(T_ints))
355355
end
356356
end

0 commit comments

Comments
 (0)