1 #include <aros/debug.h>
14 # define FORMAT_STRING "%f %f %f %f"
19 # define FORMAT_STRING "%d %d %d %d"
22 void arrgh(TYPE a
, TYPE b
, TYPE shouldbe_a
, TYPE shouldbe_b
)
24 sprintf(s
,"\n\n\n******* CONDITION CODES TERRIBLY WRONG ******* " FORMAT_STRING
"\n\n\n", a
, b
, shouldbe_a
, shouldbe_b
);
35 if (!(a
== b
)) arrgh(a
,b
,VAL1
,VAL1
);
37 if (!(a
> b
)) arrgh(a
,b
,VAL2
,VAL1
);
38 if (!(b
< a
)) arrgh(a
,b
,VAL2
,VAL1
);
39 if (!(b
!= a
)) arrgh(a
,b
,VAL2
,VAL1
);
40 if (a
== b
) arrgh(a
,b
,VAL2
,VAL1
);
41 if (a
<= b
) arrgh(a
,b
,VAL2
,VAL1
);