Re: Convert float to double - weird failure
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Sat, 27 Oct 2007 20:31:42 -0400
tugboat90 wrote:
<snips>
Thank you for the responses, but I understand how the numbers are
represented inside of a computer. I think I phrased my question
wrong.
When I converted from a float to a double, why did it add random
junk at the end of the number instead of making it zeros? If the
random junk is there, how do I get rid of it?
Reread my earlier reply, which explains it. And don't post without
quoting enough of the previous message to explain your answer.
Omitting that makes your message unintelligible.
--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>
--
Posted via a free Usenet account from http://www.teranews.com
.
- References:
- Convert float to double - weird failure
- From: tugboat90
- Re: Convert float to double - weird failure
- From: mike3
- Re: Convert float to double - weird failure
- From: tugboat90
- Convert float to double - weird failure
- Prev by Date: Re: Convert float to double - weird failure
- Next by Date: Re: Convert float to double - weird failure
- Previous by thread: Re: Convert float to double - weird failure
- Next by thread: Re: Convert float to double - weird failure
- Index(es):