Date: Tue, 6 Mar 2007 11:12:48 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-standards@FreeBSD.ORG, fred1z@hotmail.com Subject: Re: complex math functions Message-ID: <200703061012.l26ACmnp054570@lurza.secnetix.de> In-Reply-To: <BAY107-F3D69E1303222FB30C618191840@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
ff b <fred1z@hotmail.com> wrote: > I'm facing a problem while compiling math libraries because math functions > on > complex numbers seems not to be present on freebsd : > http://lists.freebsd.org/pipermail/freebsd-questions/2007-March/143759.html > > Greping the headers, I didn't find more than basic complex numbers > manipulation. > No trigonometric/exponential functions. > This subject has been discussed in technical terms a long time ago, but I > couldn't find > any files, modifications related to this in libm : > http://lists.freebsd.org/mailman/htdig/freebsd-standards/2005-September/001043.html > > What is currently the status of complex math functions in freebsd ? Near to non-existent, I'm afraid. However, you might want to have a look at ports/math/ccmath. It contains implementations of all the usual complex functions. It's under LGPL which isn't perfect, but at least you can link it to BSD-licensed programs. I think the algorithmic quality of the implementation isn't very good either, but it "worked for me" when I needed the complex functions in order to compile another third-party program. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart Any opinions expressed in this message are personal to the author and may not necessarily reflect the opinions of secnetix GmbH & Co KG in any way. FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Clear perl code is better than unclear awk code; but NOTHING comes close to unclear perl code" (taken from comp.lang.awk FAQ)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703061012.l26ACmnp054570>