Bob Gailer wrote:
> Luke Paireepinart wrote:
The function just mathematically converted a base-10 number into a
base-2 number.
> For what its worth - we say "base 10" to mean "decimal". But 10 =
> decimal only when we have already agreed we are talking decimal!
> Consider a
Luke Paireepinart wrote:
>>> The function just mathematically converted a base-10 number into a
>>> base-2 number.
>>>
For what its worth - we say "base 10" to mean "decimal". But 10 =
decimal only when we have already agreed we are talking decimal!
Consider a planet where residents have
Okay, so let's see where we are.
Integers, as well as strings, and everything else, are stored in memory
as binary.
This is a given, because the architecture of the computer is binary.
You say 'the string representation of the integer is in base-10.'
Okay, well, python's representation of any obje
Luke Paireepinart wrote:
> Kent Johnson wrote:
>> Luke Paireepinart wrote:
>>> I was trying to make it clear that Python wasn't directly accessing
>>> the binary from memory with this function Carlos had.
>>> The function just mathematically converted a base-10 number into a
>>> base-2 number.
>>
Kent Johnson wrote:
> Luke Paireepinart wrote:
>> I was trying to make it clear that Python wasn't directly accessing
>> the binary from memory with this function Carlos had.
>> The function just mathematically converted a base-10 number into a
>> base-2 number.
>
> No. It converts a binary repre
Luke Paireepinart wrote:
> I was trying to make it clear that Python wasn't directly accessing the
> binary from memory with this function Carlos had.
> The function just mathematically converted a base-10 number into a
> base-2 number.
No. It converts a binary representation of a number into a
Kent Johnson wrote:
> Luke Paireepinart wrote:
>
>> > working>
>
> I think you are a bit confused here.
>
Quite possible!
> It's important to make a distinction between the way a number is
> actually stored in the computer and the string that is created when a
> number is printed.
>
> Most
Luke Paireepinart wrote:
>
>> But probably (surely) my interpretation is wrong. Hehe
>>
> Ah, well, it's just the terminology you were using was a bit misleading.
> You say
> ' Hey Rooy, so its possible to copy binary numbers from memory?'
> All his function does is converts an integer (that's
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Luke Paireepinart
> Sent: Friday, November 10, 2006 12:08 AM
> To: Carlos
> Cc: tutor@python.org
> Subject: Re: [Tutor] First realscript + Game of Life
>
> >
>
> But probably (surely) my interpretation is wrong. Hehe
>
Ah, well, it's just the terminology you were using was a bit misleading.
You say
' Hey Rooy, so its possible to copy binary numbers from memory?'
All his function does is converts an integer (that's in memory, yes)
into a binary number
Hi,
> What?
> I think you're talking to someone else here, cause I have no idea what
> you mean.
> Copy binary numbers from memory?
> You mean from any arbitrary memory location you want?
> That sounds a lot like C++ pointers to me.
That was based on this:
> Hi Carlos,
> I hope this module wou
Carlos wrote:
> Hallo to All,
>
> Hey Rooy, so its possible to copy binary numbers from memory? I had
> the impression that this could be done, but obviously it is too much
> for me. This way is going to be faster than the hack that I tried
> before, right? Thanks for the module : )
What?
I thi
Hallo to All,
Hey Rooy, so its possible to copy binary numbers from memory? I had the
impression that this could be done, but obviously it is too much for
me. This way is going to be faster than the hack that I tried before,
right? Thanks for theĀ module : )
Now I'm tring to implement a Conwa
13 matches
Mail list logo