search for: modf

Displaying 15 results from an estimated 15 matches for "modf".

Did you mean: mode
2007 Nov 09
1
help with lasso2 package
...t;- data.frame(cbind(X,F)) F2 V1 V2 V3 F 1 -0.250536332 -1.4755883 1.9580974 -2.136487 2 -0.009856084 0.4953269 0.5486092 -2.744482 3 -0.406962682 0.7729631 0.1861905 -2.891821 4 1.938780097 0.7469251 1.2537781 -1.212992 5 -0.332370358 1.1943637 0.7114278 -1.830441 modF<-formula(F ~ V1 + V2 + V3) #no error message #general least squares model works fine glm.F <- glm(modF, data = F2, family = gaussian) #But there are unresolved errors with gl1ce gl1F<-gl1ce(modF, data=F2, family=gaussian) Error in family(family) : link "family" not avai...
2013 Jun 27
1
[LLVMdev] [MSan] false positive from Memory Sanitizer?
In the example below, the Memory Sanitizier (from clang 3.3) reports an error: #include <math.h> int main() { double x; (void) modf(0, &x); if (x) { // Boom return 1; } return 0; } I see that modf() is not implemented by compiler-rt. Is it possible to make the Memory Sanitizer assume that all un-instrumented functions initialize any pointers arguments? Thanks, Greg
2009 Mar 12
3
Error compiling rgl package
...hpc/HPC8.1/sun/include -DHAVE_PNG_H -I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -I/usr/sfw/include/freetype2 -I/usr/sfw/include -Iext -I/opt/SUNWhpc/HPC8.1/sun/include -I/usr/sfw/include -I/opt/csw/include -KPIC -O -c Background.cpp -o Background.o "math.h", line 47: Error: modf is not a member of file level. "math.h", line 48: Error: modff is not a member of file level. "Shape.hpp", line 58: Error: The function "strncpy" must have a prototype. 3 Error(s) detected. I am using Sun studio 12. I suspect that this is an incompatibility between g+...
2005 Dec 20
3
CVS compilation and EVC++ 4.0
Hi all, I'd like you to know i'm not able to build Speex library anymore from CVS without modfing the code in mdf.c. This is due to the fact that EVC++ compiler doesn't like memory allocations in this form: spx_word16_t w[N]; where N is not a constant. I know this is not an error for gcc compiler and ANSI standard but it is in VS2005 and EVC++ 4.0 If someone knows how to compile this w...
2012 Feb 18
0
Re: [Qemu-devel] [PATCH] build: add needed missing libraries libm and librt
...ng the following error: >> >> cutils.o: In function `strtosz_suffix_unit': >> /home/royger/xen-clean/tools/qemu-xen-dir/cutils.c:354: undefined >> reference to `__isnan' >> /home/royger/xen-clean/tools/qemu-xen-dir/cutils.c:357: undefined >> reference to `modf' >> collect2: ld returned 1 exit status >> >> According to modf man page [0], -lm should be used when linking. >> >> librt is used in qemu-time.c, but again the library was not specified >> at link time, throwing the following error: >> >> /home/r...
2005 Dec 20
0
CVS compilation and EVC++ 4.0
...e inconvenience. <cheap shot>Must be the price to pay for using an inferior compiler</cheap shot>. Jean-Marc Le mardi 20 d?cembre 2005 ? 11:13 +0100, Fabio a ?crit : > Hi all, > > I'd like you to know i'm not able to build Speex library anymore from > CVS without modfing the code in mdf.c. > This is due to the fact that EVC++ compiler doesn't like memory > allocations in this form: > > spx_word16_t w[N]; > > where N is not a constant. > I know this is not an error for gcc compiler and ANSI standard but it > is in VS2005 and EVC++ 4...
2012 Feb 20
0
[PATCH 1/2] build: check if libm is needed in configure
...-- a/configure +++ b/configure @@ -2447,6 +2447,20 @@ elif compile_prog "" "-lrt" ; then LIBS="-lrt $LIBS" fi +########################################## +# Do we need libm +cat > $TMPC <<EOF +#include <math.h> +int main(void) { double a, b; return modf(a, &b);} +EOF + +if compile_prog "" "" ; then + : +elif compile_prog "" "-lm" ; then + LIBS="-lm $LIBS" + libs_qga="-lm $libs_qga" +fi + if test "$darwin" != "yes" -a "$mingw32" != "yes" -a &...
2008 Jul 21
0
[LLVMdev] Extending vector operations
...expect any issues with vector operations that change element > sizes from the RHS to the LHS, e.g. around legalization. Is the proposed semantics here that the number of elements stays the same size, and the overall vector width changes? > 3) Vector intrinsics for floor, ceil, round, frac/modf > > These are operations that are not trivially specified in terms of > simpler operations. It would be nice to have these as overloaded, > target-independent intrinsics, in the same way as llvm.cos etc. are > supported now. It seems like these could be handled through intrinsics in...
2018 Feb 06
2
libc++ cross-compile linux-armv7 and math function problems
...projects/libcxx/include/math.h:939:92: error: '::log10l' has not been declared inline _LIBCPP_INLINE_VISIBILITY long double log10(long double __lcpp_x) _NOEXCEPT {return ::log10l(__lcpp_x);} ^~ ../projects/libcxx/include/math.h: In function 'long double modf(long double, long double*)': ../projects/libcxx/include/math.h:951:114: error: '::modfl' has not been declared inline _LIBCPP_INLINE_VISIBILITY long double modf(long double __lcpp_x, long double* __lcpp_y) _NOEXCEPT {return ::modfl(__lcpp_x, __lcpp_y);}...
2018 Feb 06
0
libc++ cross-compile linux-armv7 and math function problems
...een declared > inline _LIBCPP_INLINE_VISIBILITY long double log10(long double __lcpp_x) _NOEXCEPT {return ::log10l(__lcpp_x);} > ^~ > ../projects/libcxx/include/math.h: In function 'long double modf(long double, long double*)': > ../projects/libcxx/include/math.h:951:114: error: '::modfl' has not been declared > inline _LIBCPP_INLINE_VISIBILITY long double modf(long double __lcpp_x, long double* __lcpp_y) _NOEXCEPT {return ::modfl(__lcpp_x, __lcpp_y);} >...
2018 Feb 06
1
libc++ cross-compile linux-armv7 and math function problems
...939:92: error: '::log10l' has not > been declared > > inline _LIBCPP_INLINE_VISIBILITY long double log10(long double > __lcpp_x) _NOEXCEPT {return ::log10l(__lcpp_x);} > > > ^~ > > ../projects/libcxx/include/math.h: In function 'long double modf(long > double, long double*)': > > ../projects/libcxx/include/math.h:951:114: error: '::modfl' has not > been declared > > inline _LIBCPP_INLINE_VISIBILITY long double modf(long double __lcpp_x, > long double* __lcpp_y) _NOEXCEPT {return ::modfl(__lcpp_x, __lcpp_y)...
2018 Feb 05
0
Cross-compiling libc++ to linux-armv7hf gives undefined symbols in cmath / math.h
...ble log10(long double)': ../projects/libcxx/include/math.h:939:92: error: '::log10l' has not been declared inline _LIBCPP_INLINE_VISIBILITY long double log10(long double __lcpp_x) _NOEXCEPT {return ::log10l(__lcpp_x);} ^~ ../projects/libcxx/include/math.h: In function 'long double modf(long double, long double*)': ../projects/libcxx/include/math.h:951:114: error: '::modfl' has not been declared inline _LIBCPP_INLINE_VISIBILITY long double modf(long double __lcpp_x, long double* __lcpp_y) _NOEXCEPT {return ::modfl(__lcpp_x, __lcpp_y);} ^~ ../projects/libcxx/include/m...
2008 Jul 21
10
[LLVMdev] Extending vector operations
...2) Vector strunc, sext, zext, fptrunc and fpext Again, I think these are hopefully straightforward. Please let me know if you expect any issues with vector operations that change element sizes from the RHS to the LHS, e.g. around legalization. 3) Vector intrinsics for floor, ceil, round, frac/modf These are operations that are not trivially specified in terms of simpler operations. It would be nice to have these as overloaded, target-independent intrinsics, in the same way as llvm.cos etc. are supported now. 4) Vector select We consider a vector select extremely important for a numb...
2010 Aug 31
13
[PATCH v2] Add progress bars
This is an updated and extended version of the original patch: https://www.redhat.com/archives/libguestfs/2010-August/msg00163.html This adds OCaml and Perl bindings (both tested), support for progress bars in virt-resize, and adds progress notifications to a number of the simpler commands. Still to do is to add progress messages to more commands. There are still a few commands which would be
2015 Dec 03
3
Function attributes for LibFunc and its impact on GlobalsAA
----- Original Message ----- > From: "James Molloy via llvm-dev" <llvm-dev at lists.llvm.org> > To: "Vaivaswatha Nagaraj" <vn at compilertree.com> > Cc: "LLVM Dev" <llvm-dev at lists.llvm.org> > Sent: Thursday, December 3, 2015 4:41:46 AM > Subject: Re: [llvm-dev] Function attributes for LibFunc and its impact on GlobalsAA > >