[prev in list] [next in list] [prev in thread] [next in thread]
List: pcc-list
Subject: Re: [Pcc] double*long double, which type is the result?
From: "Fred J. Tydeman" <tydeman () tybor ! com>
Date: 2013-08-14 13:21:46
Message-ID: 100.50fe0b006a840b52.004 () tybor ! com
[Download RAW message or body]
On Wed, 14 Aug 2013 10:05:03 +0200 wrote:
>
>So always the widest data type is the result?
No. Consider: float * long long int, e.g., 32-bits * 64-bits
In this case, the result type is float.
Result is widest of the floating type(s) involved.
---
Fred J. Tydeman Tydeman Consulting
tydeman@tybor.com Testing, numerics, programming
+1 (775) 287-5904 Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.
_______________________________________________
Pcc mailing list
Pcc@lists.ludd.ltu.se
http://lists.ludd.ltu.se/cgi-bin/mailman/listinfo/pcc
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic