Displaying 5 results from an estimated 5 matches for "int_value".
Did you mean:
sint_value
2008 Mar 20
1
Use of Factors
...# fill the SubjID
interp_out[,1]=SubjID;
Now fill in interplated values for each visit.
interp_out[1:9,4]=hrv1;interp_out[10:18,4]=hrv2;
# hrv1 & hrv2 come from the following function, the "lm" parameter is
output from the standard lm() function:
interpolateToXL = function(lm,maxxl){
int_values=matrix(nrow=9,ncol=1)
int_values[1,]=coef(lm)[1];
if (maxxl>25)
int_values[2,]=coef(lm)[1]+coef(lm)[2] * 25
if (maxxl>50)
int_values[3,]=coef(lm)[1]+coef(lm)[2] * 50
if (maxxl>75)
int_values[4,]=coef(lm)[1]+coef(lm)[2] * 75
if (maxxl>100)
int_values[5,]=coef(lm)[1]+coef(lm)[2]...
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
...000)
-2147483650.0 -2147483648 -2147483648
As you can see out of range floats are correctly clipped on PPC,
but only correctly clipped for negative floats on x86.
libsndfile has code a bit like this:
if (CPU_CLIPS_POSITIVE == 0 && scaled_value >= 1.0 * 0x7FFFFFFF)
int_value = 0x7fffffff ;
if (CPU_CLIPS_NEGATIVE == 0 && scaled_value <= (-8.0 * 0x10000000))
int_value = 0x80000000 ;
On PPC, the above two lines get optimised out. On Intel x86, only
the second gets optimised out.
> Do they affect all code or just highly-optimized code?
The fl...
2007 May 03
2
[patch] Mac Universal Binaries
...out (since it's undefined anyway) or do
other funny things with it. That's why I wouldn't depend on the right
thing happening, even on PPC.
> libsndfile has code a bit like this:
>
> if (CPU_CLIPS_POSITIVE == 0 && scaled_value >= 1.0 * 0x7FFFFFFF)
> int_value = 0x7fffffff ;
>
> if (CPU_CLIPS_NEGATIVE == 0 && scaled_value <= (-8.0 * 0x10000000))
> int_value = 0x80000000 ;
>
> On PPC, the above two lines get optimised out. On Intel x86, only
> the second gets optimised out.
Sounds a bit dangerous to be consider...
2019 May 07
1
samba-tool max-pwd-age error
On Tue, 7 May 2019 17:06:24 +1200
Tim Beale <timbeale at catalyst.net.nz> wrote:
> Apologies, this bug fell through the cracks and the fix never got
> backported to 4.10. I've uploaded the backport to the bug now, it just
> needs a review signoff.
>
> To recap, it was introduced as a side-effect of switching to Python 3.
> The old code never worked as intended on