View Single Post
Old 8th July 2005, 01:07   #34
gaekwad2
Foorum King
 
Join Date: Jul 2003
Location: bar2000
Posts: 11,149
Quote:
Originally posted by mikm
1 || 2 / 0 is an invalid statement. First off, you cannot do boolean operations on integers,
Of course you can, they're performed bitwise: 1 || 2 == 3
(or is that the difference between | and ||? haven't done any C in ages
/looks it up: ah yes, || is the logical operator, | the bitwise one)
Quote:
Originally posted by mikm
and you can't divide booleans.

1 | 2 / 0 makes sense, although it is a completly pointless statement, given that anything divided by 0 equals 0.
no, it'll throw an error (and approximating it goes against infinity of course, not zero)
Quote:
Originally posted by mikm
Anyways, what does 6,ºüb mean?
division by zero error?

Fuck this place.

Last edited by gaekwad2; 8th July 2005 at 01:23.
gaekwad2 is offline   Reply With Quote