Displaying 3 results from an estimated 3 matches for "in32_x86".
2007 May 03
2
[patch] Mac Universal Binaries
On 5/3/07, Erik de Castro Lopo <mle+la@mega-nerd.com> wrote:
> Peter Grayson wrote:
>
> Personally I think universal binaries are a bad idea.
They have obviously served some purpose, but I tend to agree that the
concept does not seem to scale well once outside the Apple microcosm.
> For one of my projects, libsndfile, endian issues is not the only
> think that breaks in
2007 May 03
0
[patch] Mac Universal Binaries
...e on what kind of CPU vagaries come into play besides
> endianess?
One issue I found was the cpu behaviour when converting from
float/double to int32 when the source float is outside the range
of values that can be represented by the int32.
For instance:
float int32_ppc in32_x86
2147483649.0 2147483647 -2147483648
2147483648.0 2147483647 -2147483648
2147483647.0 2147483647 2147483647 (0x7fffffff)
....
-2147483648.0 -2147483648 -2147483648
-2147483649.0 -2147483648 -2147483648 (0x80000000)
-2147483650.0 -2...
2007 May 03
2
[patch] Mac Universal Binaries
> One issue I found was the cpu behaviour when converting from
> float/double to int32 when the source float is outside the range
> of values that can be represented by the int32.
>
> For instance:
>
> float int32_ppc in32_x86
> 2147483649.0 2147483647 -2147483648
> 2147483648.0 2147483647 -2147483648
> 2147483647.0 2147483647 2147483647 (0x7fffffff)
> ....
> -2147483648.0 -2147483648 -2147483648
> -2147483649.0 -2147483648 -2147483648 (0x800...