Advertisement
Fabian42

IEEE.999 code

May 11th, 2020
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. for(int i=Integer.MIN_VALUE+1; i!=Integer.MIN_VALUE; i++){
  2. float f=Float.intBitsToFloat(i);
  3. if ((f>1||f<-1)&&
  4. ((f>(int)f-0.000001 && f<(int)f+0.000001 && f!=(int)f)||
  5. (f<(int)f+0.000001 && f>(int)f-0.000001 && f!=(int)f))){
  6. System.out.println(Float.toString(f));
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement