[LLVMdev] IEEE 754-2008 | ISO/IEC TR 18037

Robinson, Paul Paul_Robinson at playstation.sony.com
Mon Sep 9 11:30:25 PDT 2013


LLVM does not support IEEE decimal-floating point.

If by “fixed point arithmetic” you are asking about associating a scale factor with a variable/value, and doing the correct scaling for arbitrary arithmetic… LLVM doesn’t do that either.  It’s a rare IR that even has the concept.  The OpenVMS GEM compilers supported it (along with other special features for COBOL), but I’m not aware of any others.
--paulr

From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Suminda Dharmasena
Sent: Saturday, September 07, 2013 2:02 AM
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] IEEE 754-2008 | ISO/IEC TR 18037

Hi,

Does LLVM support decimal precision numbers supported? Also does it have Fixed point arithmetic?

S
--
Suminda Sirinath Salpitikorala Dharmasena, B.Sc. Comp. & I.S. (Hon.) Lond., P.G.Dip. Ind. Maths. J'Pura, MIEEE, MACM, CEO Sakrīō! ▣ Address: 6G • 1st Lane • Pagoda Road • Nugegoda 10250 • Sri Lanka. ▣ Mobile: +94-(0)711007945 ▣ Tele: +94-(0)11-5 864614 / 5 875614 / 2 825908 ▣ Web: http://www.sakrio.com ▣

This email is subjected to the email Terms of Use and Disclaimer: http://www.sakrio.com/email-legal. Please read this first.
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130909/ed3ca81a/attachment.html>


More information about the llvm-dev mailing list