Displaying 6 results from an estimated 6 matches for "funcdef".
2014 Apr 15
6
[PATCH 0/3] misc. cleanup
Hello,
some misc. cleanup patches for speexdsp, nothing big
I'm not sure about how to submit patches, so this is a test balloon :)
ultimately, I'd like to fix the FIXED_POINT issue, see
http://lists.xiph.org/pipermail/speex-dev/2013-December/008465.html
currently, I think the only way to find out how speexdsp has been compiled is
to resample some bytes and observe the output; which is
2014 Apr 15
0
[PATCH 2/3] Use fabsf() instead of fabs() since we have floats, not double
...((x) > 32766.5f ? 32767 : floor(.5+(x))))
+#define WORD2INT(x) ((x) < -32767.5f ? -32768 : ((x) > 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 sl...
2014 Apr 15
2
[PATCH 2/3] Use fabsf() instead of fabs() since we have floats, not double
...32767 :
> floor(.5+(x))))
> +#define WORD2INT(x) ((x) < -32767.5f ? -32768 : ((x) > 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)
> r...
2013 Oct 09
0
[PATCH 0/1] Porting klibc to arm64
...eset-padding-2
pass ./check.t:utf8bom-1
pass ./check.t:utf8bom-2
pass ./check.t:utf8opt-1a
pass ./check.t:utf8opt-2a
pass ./check.t:utf8opt-3a
pass ./check.t:utf8opt-3b
pass ./check.t:aliases-1
pass ./check.t:aliases-2b
pass ./check.t:aliases-3b
pass ./check.t:aliases-cmdline
pass ./check.t:aliases-funcdef-1
pass ./check.t:aliases-funcdef-2
pass ./check.t:aliases-funcdef-3
pass ./check.t:aliases-funcdef-4
pass ./check.t:arrays-1
pass ./check.t:arrays-2a
pass ./check.t:arrays-2b
pass ./check.t:arrays-3
pass ./check.t:arrays-4
pass ./check.t:arrays-5
pass ./check.t:arrays-6
pass ./check.t:arrays-7
pass...
2013 Oct 09
2
[PATCH 0/1] Porting klibc to arm64
On Wed, 9 Oct 2013 10:44:27 +0000 (UTC)
Thorsten Glaser <tg at mirbsd.de> wrote:
> Anil Singhar dixit:
>
> >Manual testing as provided within the package has been done with all
> >tests passing. This includes the units tests available under
> >usr/klibc/tests, usr/utils, usr/dash and usr/gzip. For dash and
> >gzip, only sanity testing has been done.
>
>
2019 Jun 21
0
[ANNOUNCE] libXt 1.2.0
...made in headers
updated return-type for XtFindFile, also due to _CONST_X_STRING
corrected prototype for XtAppSetFallbackResources; error in spec
correct prototype for XtDisplay; error in spec
correct prototype for XtInitialize; error in spec
The conversion to xml's funcdef dropped one or more parameters from several
change ambiguous String's to char* or const-char*, as well as adding the
fix a typo
whitespace-fixes, plus convert examples to standard C
add (with an external script "markup-literallayout") <code> tags
us...