sorry, misunderstanding, i meant that (64-bit) floating point is
ok for integer ops if you stick to 32 bit and don't do divisions.

On 13 May 2010 16:31, erik quanstrom <quans...@labs.coraid.com> wrote:
> On Thu May 13 11:28:29 EDT 2010, rogpe...@gmail.com wrote:
>> On 13 May 2010 15:23, erik quanstrom <quans...@labs.coraid.com> wrote:
>> > i typically do programming calculations and floating point
>> > just isn't the right way to do that.
>>
>> it's ok if you stick to 32 bit and don't do divisions.
>
> what!?
>
> acid: (1<<36) / 10\Y
> 0x0000000199999999
> acid: 0x0000000199999999*10\Y
> 0x0000000ffffffffa
>
> works for me.
>
> - erik
>
>

Reply via email to