Skip to content
Snippets Groups Projects
  1. Oct 29, 2011
    • Liam M. Healy's avatar
      Fix sf-result* definitions, eliminate ffexpand, fsbv:object · 121e475d
      Liam M. Healy authored
      Fix sf-result and sf-result-e10 translation methods, and use in
      complex-with-error and values-with-errors.  Some usage in gamma.lisp
      updated, but there will be a need to replace sf-result with (:struct
      sf-result) in all declarations for many special functions.
      
      I removed ffexpand and everything it depended on because there is no
      reason to make a side defcfun for call-by-value functions, and if FSBV
      is missing CFFI already emits an error.  All usage of fsbv:object and
      any thing from the FSBV package is now gone.
      121e475d
  2. Oct 24, 2011
    • Liam M. Healy's avatar
      Eliminate fsbv:object for built-in types · 639a5f35
      Liam M. Healy authored
      Eliminate fsbv:object for built-in types; started conversion of
      special function result (sf-result*) structures but this requires a
      modification to CFFI.  Simulated annealing structure called by value.
      Use cffi-fsbv's sizet definition; this imposes a dependence on that
      system.  No compilation attempted yet.
      639a5f35
  3. Dec 19, 2010
  4. Dec 04, 2010
  5. Jun 30, 2010
  6. Dec 27, 2009
  7. Jun 06, 2009
    • Liam Healy's avatar
      Define C structures using CFFI-grovel · 8c0e6eb7
      Liam Healy authored
      Almost all GSL structures are now defined using CFFI-grovel, which
      makes the code more robust should there be changes in GSL.  The
      exceptions are complex-float-c, complex-double-c, and
      simulated-annealing-parameters; because these structures are used by
      value, they need to be defined with fsbv:defcstruct at the present.
      8c0e6eb7
  8. May 25, 2009
    • Liam Healy's avatar
      Use CFFI-grovel to define enumerations and programming constants · 5b255beb
      Liam Healy authored
      Instead of hardwiring GSL's #define or enum values, define them in
      init/libgsl-unix.lisp and run CFFI-grovel on them.  This has the
      advantage that if these values change in GSL, GSLL will automatically
      get the new values; also, there was an error in the 'integrate-method
      enum due to an incorrect starting value.  It has the disadvantage that
      building GSLL now requires a C compiler and some of the header (.h)
      files for GSL.  Also, it's not clear what the form for libgsl-*.lisp
      files are for non-unix OSes.
      5b255beb
    • Liam Healy's avatar
      Generic function #'size replaces #'total-size for marrays · 938ae6d6
      Liam Healy authored
      Use #'size instead of #'total-size for marrays.
      938ae6d6
  9. Feb 16, 2009
  10. Jan 11, 2009
    • Liam Healy's avatar
      Use &aux definitions in defmfun; clean up foreign-friendly definitions · 0b69f21e
      Liam Healy authored
      Add &aux to defmfuns to that e.g. array arguments can optionally take
      a size and make an array (bessel.lisp).  Remove several unused
      definitions in foreign-friendly held over from ffa.
      SBCL 64: TOTAL: 1223 assertions passed, 5 failed, 0 execution errors.
      CCL 64: TOTAL: 1228 assertions passed, 0 failed, 0 execution errors.
      0b69f21e
  11. Aug 10, 2008
    • Liam Healy's avatar
      Explicit precision specification modes · 6f90daf7
      Liam Healy authored
      The GSL precision mode used mainly in special functions is now
      explicitly given in the CL argument list; remove special treatment of
      :mode in C argument list of defmfun call, which meddled with the CL
      arglist.  Changed sf-mode options to :double, :single, :approx.
      6f90daf7
  12. Jul 25, 2008
  13. Feb 17, 2008
  14. Jan 01, 2007
Loading