From: Albert G. <Dr....@t-...> - 2008-08-13 14:41:39
|
Eddie Rucker wrote: > If a function is defined in a C library as a float. How are we suppose > to access it from Pure? Ok, this is implemented now. Pure double arguments are truncated to float, and returned float results are expanded back to Pure doubles again. E.g.: > extern float expf(float); > expf 1.0; 2.71828174591064 -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |