Re: long integer multiplication
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Sun, 29 Apr 2007 07:34:11 +0000
Wade Ward said:
<snip>
long long x;
int y = 0;
y = y *(int)x;
I think that might be legal.
It isn't. The value of x is indeterminate, so the result of the explicit
conversion is undefined.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
.
- References:
- long integer multiplication
- From: helPlease
- Re: long integer multiplication
- From: Joe Estock
- Re: long integer multiplication
- From: Wade Ward
- long integer multiplication
- Prev by Date: Re: break statement in a for loop
- Next by Date: Re: break statement in a for loop
- Previous by thread: Re: long integer multiplication
- Next by thread: Re: long integer multiplication
- Index(es):
Relevant Pages
|