Follow-up Comment #6, bug #13270 (project classpath):

I see, here's the output before and after casting to int. I also tried
casting to long, short and float, when casting to long and float it brings
the correct output, but short brings some 0's and -1 instead of the
2147483648 and -2147483648.


3.2680927015788903
-2147483648

48.676101959694606
48

15.603303272040826
15

45.18679449911908
-2147483648

50.183405249914465
-2147483648

57.99931603444814
57

38.57864976574081
38

36.30425765078901
-2147483648

31.345613996020415
31

44.611820742164916
44

24.0072916995037
-2147483648

5.759369039050663
5

45.17598697068571
45

56.54270822097954
2147483647

37.43793782159153
2147483647

8.445844681955768
8

41.26446978250817
41

0.0966193579536061
-2147483648

50.92214798727264
-2147483648

16.164099315461403
2147483647


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13270>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Commit-classpath mailing list
Commit-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-classpath

Reply via email to