Re: printf("%d",float)
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Wed, 31 Oct 2007 09:45:18 +0000
Philip Potter said:
Richard Heathfield wrote:
Jack Klein said:
<snip>
Of course, dereferencing that pointer
is completely undefined.
Right, which is why I consider the conversion meaningless.
So conversion to void * is always meaningless, because no void * can be
dereferenced?
Um, er... :-)
Okay, so that's an exception. But I think that, in general terms, it's
still a reasonable rule of thumb.
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.
- References:
- printf("%d",float)
- From: candy_init
- Re: printf("%d",float)
- From: Richard Heathfield
- Re: printf("%d",float)
- From: Jack Klein
- Re: printf("%d",float)
- From: Richard Heathfield
- Re: printf("%d",float)
- From: Philip Potter
- printf("%d",float)
- Prev by Date: Re: nested structures and initialization
- Next by Date: Re: A Trend Towards Lower Software Maintenance Budgets?
- Previous by thread: Re: printf("%d",float)
- Next by thread: Re: printf("%d",float)
- Index(es):
Relevant Pages
|