We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac6443f commit 5fe3874Copy full SHA for 5fe3874
test/runtests.jl
@@ -3,11 +3,11 @@ using Test
3
4
@testset "BitTwiddlingConvenienceFunctions.jl" begin
5
6
- @test all(i -> HostCPUFeatures.intlog2(1 << i) == i, 0:(Int == Int64 ? 53 : 30))
7
- @test all(i -> HostCPUFeatures.nextpow2(i) == i, 0:2)
+ @test all(i -> intlog2(1 << i) == i, 0:(Int == Int64 ? 53 : 30))
+ @test all(i -> nextpow2(i) == i, 0:2)
8
for j in 1:10
9
l, u = (1<<j)+1, 1<<(j+1)
10
- @test all(i -> HostCPUFeatures.nextpow2(i) == u, l:u)
+ @test all(i -> nextpow2(i) == u, l:u)
11
end
12
13
0 commit comments