plugin~ crashes on free

Karl MacMillan karlmac at peabody.jhu.edu
Tue Dec 5 19:04:50 CET 2000


Miller,

I know you have been looking for a way to turn off float denormalization
on intel chips for a while and this appeared on the linux audio
development list the other day:

#ifdef HAVE_FPU_CONTROL_H
  #include <fpu_control.h> #endif #ifdef HAVE_FPU_CONTROL_H
  #if __GLIBC_MINOR__ < 1
    /* in linux there's <fpu_control.h> with __setfpucw which Clisp calls
as __setfpucw(_FPU_IEEE); */
    /* this appears to be useful in getting rid of idiotic NaN's */
    __setfpucw(_FPU_IEEE);
  #else
    #ifndef __alpha__
      int __fpu_ieee = _FPU_IEEE;
      _FPU_SETCW(__fpu_ieee);
      /* this bugfix thanks to Paul Barton-Davis */
    #else
      int __fpu_ieee = 0;
    #endif
  #endif
#endif

I think this is from snd.

Karl

_____________________________________________________
| Karl W. MacMillan                                 |
| Computer Music Department                         |
| Peabody Institute of the Johns Hopkins University |
| karlmac at peabody.jhu.edu                           |
| www.peabody.jhu.edu/~karlmac                      |
-----------------------------------------------------




More information about the Pd-list mailing list