C++ warning: compound assignment to object of volatile-qualified type 'volatile double' is deprecated

This commit is contained in:
Shahram Najm 2023-01-17 15:11:55 +00:00
parent 2e42ca24d1
commit bf228e46a5
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
static double epsilon()
{
volatile double e = 1.;
double e = 1.;
while (1. != (1. + e)) {
e /= 2;
}