Fermer2
XimoonLe 09/03/2007 à 14:47
typedef unsigned char Boolean_t
[...]
#define FALSE ((Boolean_t)(0 == 1))
#define TRUE  ((Boolean_t)(0 == 0))
[...]
Boolean_t Failed_State
[...]
/* Check that the boolean is a real one */
if ((Failed_State != TRUE) &&
    (Failed_State != FALSE))
{
    SHUTDOWN_BECAUSE_BAD_INPUT_M();
}


Il y aurait-il une subtilité qui m'échapperait et qui justifierait ce bout code ?
(non ça n'est pas destiné à un processeur quantique)