Displaying 5 results from an estimated 5 matches for "ifloor".
Did you mean:
floor
2006 Dec 19
1
precision when calling a C function; presence of Fortran call
...fects the
result of a floating-point operation. I have C functions
void test1(int *n, double *f){
int outC;
double c0;
c0 = (double) *n * *f;
outC = floor(c0);
printf("when f computed by R, C says %d by itself\n",outC);
}
void test2(int *n, double *f){
extern int F77_NAME(ifloor)(double *);
int outC,outFor;
double c0;
c0 = (double) *n * *f;
outFor = F77_CALL(ifloor)(&c0);
outC = floor(c0);
printf("when f computed by R, C says %d, Fortran says %d\n",outC,outFor);
}
where the Fortran function ifloor is
integer function ifloor(x)
DOUB...
2005 Jan 13
2
Ices Crashing (BUS error)
.... Can you
> compile libvorbis AND ices with debugging symbols, and try again?
Program received signal SIGBUS, Bus error.
[Switching to Thread 1 (LWP 100163)]
0x2819e486 in _vp_couple (blobno=7, g=0x80adb34, p=0x80c8334, vi=0x80b0000,
res=0x805c960, mag_memo=0x8105930, mag_sort=0x8105960,
ifloor=0x8105870,
nonzero=0xbfaedc70, sliding_lowpass=574) at psy.c:1167
1167 for(k=0;k<partition;k++){
>
> Since you appear to be using x86, this is a surprising error (bus
> faults are much harder to trigger on x86 than on many other
> architectures).
> Does chan...
2005 Jan 13
0
Ices Crashing (BUS error)
...rbis AND ices with debugging symbols, and try again?
>
> Program received signal SIGBUS, Bus error.
> [Switching to Thread 1 (LWP 100163)]
> 0x2819e486 in _vp_couple (blobno=7, g=0x80adb34, p=0x80c8334, vi=0x80b0000,
> res=0x805c960, mag_memo=0x8105930, mag_sort=0x8105960,
> ifloor=0x8105870,
> nonzero=0xbfaedc70, sliding_lowpass=574) at psy.c:1167
> 1167 for(k=0;k<partition;k++){
That's very, very strange. I'd be very tempted to say that that line
couldn't possibly cause a bus fault (at least on x86)... but you seem
to have evidence to...
2005 Jan 09
2
Ices Crashing (BUS error)
Hi,
I'm currently migrating from Shoutcast/MP3 to Icecast/OGG/Vorbis using ices.
Unfortunately, when initialising the encoder, ices crashes with a bus error.
Is there anything I can look into?
Details as follows:
icecast2-2.1.0,1
ices-2.0.0,1
libshout2-2.0_5,1
libogg-1.1.2_1,3
libvorbis-1.1.0_1,3
(All were installed from the ports tree)
On
FreeBSD ares.radiozilvervos.com 5.3-RELEASE-p4
2005 Jun 18
1
loess returns different standard errors for identical models (PR#7956)
Full_Name: Benjamin Tyner
Version: 2.1.0, 4/18/2005
OS: i686-redhat-linux-gnu
Submission from: (NULL) (4.64.8.220)
# Just run my.test() below in a newly opened R session. Once too many models
have been fit (~20 on my system), the computed standard error jumps to a
different value. This is (superficially) due to a different residual sum of
squares, not a different one.delta. No other aspect of