public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53317] New: Conversion from __float128 to __int128
@ 2012-05-10 23:25 ahakkas at gmail dot com
  2012-05-10 23:29 ` [Bug c/53317] Conversion from __int128 to __float128 ahakkas at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ahakkas at gmail dot com @ 2012-05-10 23:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53317

             Bug #: 53317
           Summary: Conversion from __float128 to __int128
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ahakkas@gmail.com


Conversion from __float128 to __int128 does not seem correct in gcc 4.6.3
version (gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)). I am not aware if this
has been fixed in the later version. Here are a few examples: 

Input  = 0x00011002000E38000000080000000000   Result =
0x406F1802000E38000000080000000000
Correct result should be:                     Result =
0x406F1002000E38000000080000000000

Input  = 0x000115260000058B00022A4E00000164   Result =
0x406F3F6E000005EF00022A4E00000164
Correct result should be:                     Result =
0x406F15260000058B00022A4E00000164

Input  = 0x00014810000000000000000000033170   Result =
0x406F4810000331700000000000033170
Correct result should be:                     Result =
0x406F4810000000000000000000033170

Thanks.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-06-21 19:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-10 23:25 [Bug c/53317] New: Conversion from __float128 to __int128 ahakkas at gmail dot com
2012-05-10 23:29 ` [Bug c/53317] Conversion from __int128 to __float128 ahakkas at gmail dot com
2012-05-11  8:39 ` [Bug other/53317] " rguenth at gcc dot gnu.org
2012-05-14 18:14 ` ahakkas at gmail dot com
2013-06-18 22:52 ` jsm28 at gcc dot gnu.org
2013-06-21 19:11 ` jsm28 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).