From 31757c19356970d6ddf7241b2c885d00bfd5c728 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 12 Jan 1988 15:56:42 +0000 Subject: [PATCH] output of id.c was wrong --- lang/cem/ctest/ctgen/id.cem.g | 38 +++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/lang/cem/ctest/ctgen/id.cem.g b/lang/cem/ctest/ctgen/id.cem.g index d7b332418..dcb9660da 100644 --- a/lang/cem/ctest/ctgen/id.cem.g +++ b/lang/cem/ctest/ctgen/id.cem.g @@ -22,30 +22,30 @@ x ++ 4.141500e+00 x -- 2.141500e+00 -- x 2.141500e+00 ++ x 4.141500e+00 -y = ( (-40) + 300 ) 17538 -y = ( (-40) - 300 ) 50346 +y = ( (-40) + 300 ) 260 +y = ( (-40) - 300 ) -340 y = ( (-40) / 300 ) 0 -y = ( (-40) * 300 ) -2147432645 -y = ( (-40) || 300 ) 16512 -y = ( (-40) && 300 ) 16512 -y = ( -(-40) ) 17184 +y = ( (-40) * 300 ) -12000 +y = ( (-40) || 300 ) 1 +y = ( (-40) && 300 ) 1 +y = ( -(-40) ) 40 y = ( !(-40) ) 0 y = ( (-40) == 300 ) 0 -y = ( (-40) != 300 ) 16512 -y = ( (-40) <= 300 ) 16512 +y = ( (-40) != 300 ) 1 +y = ( (-40) <= 300 ) 1 y = ( (-40) >= 300 ) 0 -y = ( (-40) < 300 ) 16512 +y = ( (-40) < 300 ) 1 y = ( (-40) > 300 ) 0 -y = ( (-40) ? (-40) : 300 ) 49952 -y = ( x = (-40) ) -4.000000e+01 49952 -y = ( x += (-40) ) -3.685850e+01 1864024851 -y = ( x -= (-40) ) 4.314150e+01 -1864023252 -y = ( x /= (-40) ) -7.853750e-02 -666583392 -y = ( x *= (-40) ) -1.256600e+02 1374405627 -y = ( x ++ ) 4.141500e+00 240533833 -y = ( x -- ) 2.141500e+00 240533833 -y = ( -- x ) 2.141500e+00 240533769 -y = ( ++ x ) 4.141500e+00 -2027208316 +y = ( (-40) ? (-40) : 300 ) -40 +y = ( x = (-40) ) -4.000000e+01 -40 +y = ( x += (-40) ) -3.685850e+01 -36 +y = ( x -= (-40) ) 4.314150e+01 43 +y = ( x /= (-40) ) -7.853750e-02 0 +y = ( x *= (-40) ) -1.256600e+02 -125 +y = ( x ++ ) 4.141500e+00 3 +y = ( x -- ) 2.141500e+00 3 +y = ( -- x ) 2.141500e+00 2 +y = ( ++ x ) 4.141500e+00 4 yes if ( (-40) + 300 ) yes() ; else no() yes if ( (-40) - 300 ) yes() ; else no() no if ( (-40) / 300 ) yes() ; else no() -- 2.34.1