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:
Lioncash 2018-05-26 17:45:01 -04:00 committed by MerryMage
parent cf188448d4
commit e64978ed89

View file

@ -254,7 +254,7 @@ TEST_CASE("A64: Single random instruction", "[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
0x00000001, // smallest positive denormal
0x00000076, //