[OCLUG-devel] question about bitwise ~
Morgan Simpson
msimpson at braysimpson.com
Sat Jun 5 20:01:13 PDT 2004
On Jun 5, 2004, at 10:33 AM, James Colannino wrote:
> However, I tried this on a float, and I got the following error from
> the compiler:
>
> error: wrong type argument to bit-complement
>
> Does anyone know why this won't work on a floating point variable?
Bitwise operators require integer data types. A character is a kind of
small integer.
Regards,
Morgan
More information about the OCLUG-devel
mailing list