fuzz_with_unicorn: Make float_numbers in floating-point tests constexpr
Given this is just a lookup table, this can be made immutable.
This commit is contained in:
parent
cf188448d4
commit
e64978ed89
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ TEST_CASE("A64: Single random instruction", "[a64]") {
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("A64: Floating point instructions", "[a64]") {
|
TEST_CASE("A64: Floating point instructions", "[a64]") {
|
||||||
std::array<u64, 80> float_numbers {
|
static constexpr std::array<u64, 80> float_numbers {
|
||||||
0x00000000, // positive zero
|
0x00000000, // positive zero
|
||||||
0x00000001, // smallest positive denormal
|
0x00000001, // smallest positive denormal
|
||||||
0x00000076, //
|
0x00000076, //
|
||||||
|
|
Loading…
Reference in a new issue