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

unsigned floating point numbers

Name: Bobby Brown 2010-10-28 4:07

Why aren't there unsigned floating point numbers in c/c++?

Name: Anonymous 2010-10-28 11:03

Why aren't there bitwise operations on floating point numbers in c/c++?

Name: Anonymous 2010-10-28 11:25

>>9
You can use a cast.

*(int*)&c = *(int*)&a ^ *(int*)&b;

Name: Anonymous 2010-10-28 12:27

>>10
You could get away with this sort of low-level trolling on /g/, but it is simply pitiful when put in practice here.

Name: Anonymous 2010-10-28 15:06

>>11
Why are you quoting me and not >>9 as well? He was clearly trolling as well! He might even be the same person as me and YHBTC.

Name: Anonymous 2010-10-28 15:41

I'm >>9 and I was inspired to make that post when I saw a guy at Sepples forums complaining that casting an int to (char *) doesn't turn it into a (numeric) string.

Name: Anonymous 2010-10-28 15:49

>>13
Cool story bro! I'm speechless

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