search for: fab

Displaying 20 results from an estimated 334 matches for "fab".

Did you mean: ab
2013 May 06
1
[LLVMdev] Floating-point FABS - supporting
I posted a similar issue, but this relates to how to keep a function call from being lowered to an ISD:FABS. In this case, I don't want FABS (floating point absolute) to be converted into an operation). In this case, what happens is that clang generates the code for floating point absolute (fabs) as a subroutine call: %5 = load douuble %x, align 8 %call = call double @fabs(double %5) nounwind rea...
2014 Apr 15
2
[PATCH 2/3] Use fabsf() instead of fabs() since we have floats, not double
...orf(.5+(x)))) > #endif > > #define IMAX(a,b) ((a) > (b) ? (a) : (b)) > @@ -273,12 +273,12 @@ static spx_word16_t sinc(float cutoff, float x, int > N, struct FuncDef *window_fu > { > /*fprintf (stderr, "%f ", x);*/ > float xx = x * cutoff; > - if (fabs(x)<1e-6f) > + if (fabsf(x)<1e-6f) > return WORD2INT(32768.*cutoff); > - else if (fabs(x) > .5f*N) > + else if (fabsf(x) > .5f*N) > return 0; > /*FIXME: Can it really be any slower than this? */ > - return WORD2INT(32768.*cutoff*sin(M_PI*xx...
2018 Aug 02
1
[PATCH 1/2] Add fabs() implementation
When we add -ffreestanding the compiler won't get to inline this any more. Signed-off-by: David Woodhouse <dwmw2 at infradead.org> --- com32/lib/math/fabs.S | 15 +++++++++++++++ mk/lib.mk | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 com32/lib/math/fabs.S diff --git a/com32/lib/math/fabs.S b/com32/lib/math/fabs.S new file mode 100644 index 00000000..794a53c0 --- /dev/null +++ b/com32/lib/math/fabs.S @@ -...
2013 Aug 13
2
[LLVMdev] SimplifyLibCalls doesn't check TLI for LibFunc availability
...me() == "pow" && TLI->has(LibFunc::powf)) { UnaryDoubleFPOpt UnsafeUnaryDoubleFP(true); Ret = UnsafeUnaryDoubleFP.callOptimizer(Callee, CI, B); } [...] if (Op2C->isExactlyValue(0.5)) { // Expand pow(x, 0.5) to (x == -infinity ? +infinity : fabs(sqrt(x))). // This is faster than calling pow, and still handles negative zero // and negative infinity correctly. // TODO: In fast-math mode, this could be just sqrt(x). // TODO: In finite-only mode, this could be just fabs(sqrt(x)). Value *Inf = ConstantFP::getInfin...
2013 May 12
3
Duda básica
Hola Colegas: Me reintegro al estudio de R y quisiera me pudieran resolver el problema que planteo en el archivo adjunto. Gracias anticipadas. *MANOLO MÁRQUEZ P.* ------------ próxima parte ------------ Se ha borrado un adjunto en formato HTML... URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20130511/b0c9f15d/attachment.html> ------------ próxima parte ------------ An embedded
2013 Aug 13
0
[LLVMdev] SimplifyLibCalls doesn't check TLI for LibFunc availability
...ryDoubleFP(true);**** > > Ret = UnsafeUnaryDoubleFP.callOptimizer(Callee, CI, B);**** > > }**** > > ** ** > > [...]**** > > ** ** > > if (Op2C->isExactlyValue(0.5)) {**** > > // Expand pow(x, 0.5) to (x == -infinity ? +infinity : > fabs(sqrt(x))).**** > > // This is faster than calling pow, and still handles negative zero* > *** > > // and negative infinity correctly.**** > > // TODO: In fast-math mode, this could be just sqrt(x).**** > > // TODO: In finite-only mode, this could...
2014 Apr 15
0
[PATCH 2/3] Use fabsf() instead of fabs() since we have floats, not double
...> 32766.5f ? 32767 : floorf(.5+(x)))) #endif #define IMAX(a,b) ((a) > (b) ? (a) : (b)) @@ -273,12 +273,12 @@ static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_fu { /*fprintf (stderr, "%f ", x);*/ float xx = x * cutoff; - if (fabs(x)<1e-6f) + if (fabsf(x)<1e-6f) return WORD2INT(32768.*cutoff); - else if (fabs(x) > .5f*N) + else if (fabsf(x) > .5f*N) return 0; /*FIXME: Can it really be any slower than this? */ - return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*...
2014 Apr 15
6
[PATCH 0/3] misc. cleanup
...I think the only way to find out how speexdsp has been compiled is to resample some bytes and observe the output; which is awkard I plan to post some patches in this direction shortly... thanks, regards, p. Peter Meerwald (3): Resampler buffer_size is always 160, drop FIXED_POINT #ifdef Use fabsf() instead of fabs() since we have floats, not double Fix file permission of libspeexdsp/scal.c libspeexdsp/resample.c | 18 +++++++----------- libspeexdsp/scal.c | 0 2 files changed, 7 insertions(+), 11 deletions(-) mode change 100755 => 100644 libspeexdsp/scal.c -- 1.9.1
2006 Oct 14
4
How do I manage manifests most efficiently...?
...made any of the other classes dependent on the puppet class). Or has puppet a nifty way to handle that. With my current solution, it takes two runs of puppetd to actually run the new code - one to copy it from the server, and one to execute it... -- Med venlig hilsen Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: 70 202 407 / Fax: 33 313 640 www.fab-it.dk / juri@fab-it.dk
2006 Oct 19
1
Filenames with dots in the name
...tc/init.d/puppet" in file /etc/puppet/ manifests/packages/puppet.pp at line 12 The line specified is actually the closing bracket of the exec statement, so I suspect that it''s the require that fails. I use other places without problems. -- Med venlig hilsen Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: 70 202 407 / Fax: 33 313 640 www.fab-it.dk / juri@fab-it.dk
2007 Jan 31
7
Report usage...
...9;'ve configured a tagmail.conf file like this: all: root@localhost But the documentation mentions three options, namely sendmail, reportfrom, smtpserver. Should they also be set in tagmail.conf...? And should it be "ini" style...? -- Med venlig hilsen Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: 70 202 407 / Fax: 33 313 640 www.fab-it.dk / juri@fab-it.dk
2008 Apr 24
0
DVD Fab HD Decrypter, surpisingly better than windows
Hello, DVD Fab HD Decrypter is a DVD copy program. The free version is limited to decrypt and store the result onto HDD only. Better than all other tools (that I tried), this program does not have problems with some tricky copy protection methods. While the best other program fails on about 50% of current DVD mo...
2000 Jun 28
2
trivial optimization to psy.c
...ning the two loops saves a percent or two (according to gprof). ================================================================= --- psy.c Mon Jun 19 12:05:57 2000 +++ - Wed Jun 28 15:14:17 2000 @@ -550,12 +550,11 @@ frameno++; memset(flr,0,n*sizeof(double)); - for(i=0;i<n;i++)work[i]=fabs(f[i]); - - /* find the highest peak so we know the limits */ for(i=0;i<n;i++){ - if(work[i]>specmax)specmax=work[i]; - } + work[i]=fabs(f[i]); + if(work[i]>specmax) + specmax=work[i]; + } specmax=todB(specmax); /* don't use the smoothed data for noise */ =...
2006 Oct 17
5
Puppet tgz installs...
...g/error..? I looked in the rakefile and found this: task.sbins = FileList.new("bin/puppetmasterd", "bin/puppetd") There on line 63 it actually says "sbin" but puts the files into bin/. Shouldn''t it be sbin/...? -- Med venlig hilsen Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: 70 202 407 / Fax: 33 313 640 www.fab-it.dk / juri@fab-it.dk
2004 Feb 23
2
About lossless and point stereo
...gt;0){ pcmM[j]=mag; pcmA[j]=mag+ang; }else{ pcmA[j]=mag; pcmM[j]=mag-ang; } } } But when I look at the (rather messy) lossless coupling function (couple_lossless) in psy.c: tatic void couple_lossless(float A, float B, float *qA, float *qB) { int test1 = fabs(*qA) > fabs(*qB); test1 -= fabs(*qA) < fabs(*qB); if (!test1) test1 = ((fabs(A) > fabs(B)) << 1) - 1; if (test1 == 1) { *qB = (*qA > 0.f ? *qA - *qB : *qB - *qA); } else { float temp = *qB; *qB = (*qB > 0.f ? *qA - *qB : *qB - *qA); *qA = t...
2007 Dec 11
1
Node variable names with dashes..
...allow-from = "127.0.0.1" } err: Could not parse; using old configuration: Could not match ''- from'' at /home/mercurial/repositories/manifests/nodes/nodes.pp:8 I''m using the variable to create a template-based config file. -- Best regards Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: 70 202 407 / Fax: 33 313 640 www.fab-it.dk / juri@fab-it.dk
2007 Nov 21
2
I''m lost on exec
Hi Can anyone tell me what''s wrong with this one. Sorry I''m new and I just want to print some message to the the puppet log on the client side. --------------------------------------------------- $testvar = "Hello world!" class mytest { exec { "/bin/echo $testvar" } } I keep getting: err: Could not parse; using old configuration: Syntax error at
2007 Jan 21
5
facts about xen domU''s...
...and uses the xm utility to get the information. The only thing I haven''t figured out, is how to ignore the facts if it''s run on a machine that''s not a domU... ;-) But it''s probably a trivial thing... ? Right? -- Med venlig hilsen Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: 70 202 407 / Fax: 33 313 640 www.fab-it.dk / juri@fab-it.dk _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
2008 May 29
3
cannot add new machines to domain
..._rid(1072) 'algorithmic rid base' is set but a passdb backend without algorithmic RIDs is chosen. Please map all used groups using 'net groupmap add', set the maximum used RID using 'net setmaxrid' and remove the parameter smb.conf: [global] workgroup = FAB server string = zeus interfaces = 195.72.98.12/255.255.255.240, 10.14.45.12/255.255.255.0 map to guest = Bad User passdb backend = ldapsam algorithmic rid base = 5000 log level = 1 log file = /var/log/log.smb smb ports = 139...
2006 Oct 12
3
Defaults for package type...
...quot;file" type: define configfile { file { $name: owner => root, mode => 644 } } class shorewall { configfile { "shorewall.conf" ensure => file } } or are there any other ways to "set defaults" on a type...? -- Med venlig hilsen Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: 70 202 407 / Fax: 33 313 640 www.fab-it.dk / juri@fab-it.dk