aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/genCases_f16.c1
-rw-r--r--source/genCases_f32.c1
-rw-r--r--source/genCases_f64.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/source/genCases_f16.c b/source/genCases_f16.c
index ea4c025..0155458 100644
--- a/source/genCases_f16.c
+++ b/source/genCases_f16.c
@@ -330,6 +330,7 @@ static float16_t f16Random( void )
case 6:
return f16RandomQInfP3();
case 7:
+ default:
return f16RandomQInfPInf();
}
diff --git a/source/genCases_f32.c b/source/genCases_f32.c
index 3da3a29..695d050 100644
--- a/source/genCases_f32.c
+++ b/source/genCases_f32.c
@@ -411,6 +411,7 @@ static float32_t f32Random( void )
case 6:
return f32RandomQInfP3();
case 7:
+ default:
return f32RandomQInfPInf();
}
diff --git a/source/genCases_f64.c b/source/genCases_f64.c
index 5229e89..4d74ca6 100644
--- a/source/genCases_f64.c
+++ b/source/genCases_f64.c
@@ -553,6 +553,7 @@ static float64_t f64Random( void )
case 6:
return f64RandomQInfP3();
case 7:
+ default:
return f64RandomQInfPInf();
}