Re: Printf problem with big numbers....
- From: "pasukaru@xxxxxxxxx" <pasukaru@xxxxxxxxx>
- Date: 23 Jan 2006 19:52:19 -0800
well, the problem was that these numbers are supposed to be converted
in base 2 later on....
So if 1234567890987654321 becomes 1234567890987654400, that is a big
problem isn't it ?
But I changed my algorithm, and now work directly in base 2, and
instead of printing the results in base 10 or base 2, I just print the
bits that are == 1 (for example x0x3x5x45x62), so now I deal with
strings, and not with numbers, so it is ok.
Thank U all for your help.
.
- References:
- Printf problem with big numbers....
- From: pasukaru@xxxxxxxxx
- Re: Printf problem with big numbers....
- From: Jordan Abel
- Printf problem with big numbers....
- Prev by Date: Re: Printf problem with big numbers....
- Next by Date: Re: Does structure order matter?
- Previous by thread: Re: Printf problem with big numbers....
- Next by thread: First program
- Index(es):
Relevant Pages
|
|