Date: Thu, 31 Oct 2013 09:27:34 -0400 From: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> To: freebsd-numerics@freebsd.org Subject: Representation of 128 bit floating point numbers in FreeBSD amd64 and Clang Message-ID: <CAOgwaMs=NKfDpjOY9=5%2BKYFUdbzeMpxMF_nxZP21y8RTb_cR9w@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Dear All , There are three kind of floating point numbers beside single precision numbers : http://en.wikipedia.org/wiki/Double_precision ( 64 bits ) http://en.wikipedia.org/wiki/Extended_precision ( 80 bits ) http://en.wikipedia.org/wiki/Quadruple-precision_floating-point_format ( 128 bits ) In Fortran , it is possible to define the following : REAL ( KIND = 8 ) , DOUBLE PRECISION : 64 bits , REAL ( KIND = 10 ) : 80 bits , REAL ( KIND = 16 ) : 128 bits ( 34 digits ) . In FreeBSD amd64 and Clang , how can I represent 128 bits ( 34 digits ) variables ? The following are available : double : 17 digits long double : 21 digits Thank you very much . Mehmet Erol Sanliturk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgwaMs=NKfDpjOY9=5%2BKYFUdbzeMpxMF_nxZP21y8RTb_cR9w>