Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

long doubles

Name: Anonymous 2011-08-13 11:42


int main(void)
{
    long double test = 1;
    test <<= 1E1L;
    return 0;
}

test@test:~/test$ gcc -ansi -pedantic -Wall -O0 -o test test.c
test.c: In function ‘main’:
test.c:35:7: error: invalid operands to binary << (have ‘long double’ and ‘long double’)


So there is no way I can bit-shift the damn long double's?

Name: Anonymous 2011-08-13 15:41

>>17
The author of this code obviously doesn't know of the array addressing operator.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List