in c/c++, 1 can things
float b = 3.; int = *(int*)&b;
i want same thing in java, possible , if so, how?
thank you.
java doesn't have pointers. specific case, can use float.intbitstofloat
(and float.floattointbits
other way; double
has similar methods). there is, however, no way funkier "conversions".