Changeset 20616 in project for promotional


Ignore:
Timestamp:
10/03/10 17:13:14 (8 years ago)
Author:
sjamaan
Message:

Fix silly mistake in FFI example in the flyer. Before printing this we should definitely try out and run every single program to verify we don't have bugs in them ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • promotional/flyer/flyer.tex

    r20596 r20616  
    137137(foreign-declare "#include <math.h>")
    138138
    139 (define log10-from-c  ;; C equivalent
     139(define log10-from-c
    140140  (foreign-lambda* double ((double x))
    141141    "double y;"
     
    145145;; Shorter versions:
    146146(define (log10 x) (/ (log x) (log 10)))
    147 
    148147(define log10-from-c
    149   (foreign-lambda double ((double x)) log10))
     148  (foreign-lambda double "log10" double))
    150149\end{schemedisplay}
    151150
Note: See TracChangeset for help on using the changeset viewer.