| To: | Justin Carlson <carlson@sibyte.com> |
|---|---|
| Subject: | Re: floating point on Nevada cpu |
| From: | Ralf Baechle <ralf@oss.sgi.com> |
| Date: | Thu, 25 Jan 2001 09:26:01 -0800 |
| Cc: | Pete Popov <ppopov@mvista.com>, "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com> |
| In-reply-to: | <0101241917341S.00834@plugh.sibyte.com>; from carlson@sibyte.com on Wed, Jan 24, 2001 at 07:16:04PM -0800 |
| References: | <3A6F8F66.6258801@mvista.com> <0101241833281Q.00834@plugh.sibyte.com> <3A6F9814.3E39027@mvista.com> <0101241917341S.00834@plugh.sibyte.com> |
| Sender: | owner-linux-mips@oss.sgi.com |
| User-agent: | Mutt/1.2.5i |
On Wed, Jan 24, 2001 at 07:16:04PM -0800, Justin Carlson wrote:
> int main()
> {
> printf("%f\n", (float)3.14159);
> }
Note that above cast is useless; in C all floats are implicitly converted
to doubles for passing to a varargs function.
Ralf
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: OOps - very obscure, Florian Lohoff |
|---|---|
| Next by Date: | Re: floating point on Nevada cpu, Ralf Baechle |
| Previous by Thread: | Re: floating point on Nevada cpu, Ralf Baechle |
| Next by Thread: | Re: floating point on Nevada cpu, Justin Carlson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |