mardi 11 décembre 2018

Is there any IEEE 754 casing else statement

#include <stdio.h>    
int main()
{
    float a=0.700;
    if(a==0.700)
    {
        printf("here");
    }
    else
    {
        printf("sa");
    }
    return 0;
}

the above code is extincting the if statement but executing the else statement is is due to ieee 754

Aucun commentaire:

Enregistrer un commentaire