*BSD News Article 38426


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!werple.apana.org.au!otis.apana.org.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!lll-winken.llnl.gov!uwm.edu!spool.mu.edu!howland.reston.ans.net!pipex!uunet!heifetz.msen.com!zib-berlin.de!math.fu-berlin.de!omega.physik.fu-berlin.de!graichen
From: graichen@omega.physik.fu-berlin.de (Thomas Graichen)
Subject: Re: slow math library
Message-ID: <QZNUB1RW@math.fu-berlin.de>
Sender: news@math.fu-berlin.de (Math Department)
Nntp-Posting-Host: omega.physik.fu-berlin.de
Organization: Free University of Berlin, Germany
References: <EYMUB1UR@math.fu-berlin.de>
Date: Tue, 22 Nov 1994 11:13:48 GMT
Lines: 41

graichen@omega.physik.fu-berlin.de (Thomas Graichen) writes:

>hello
>-----

>in the last day's i tried freebsd (1.1) - i think it's really good and more
>consistent than all the linux distributions i've used before but i've found
>one problem for me - the math-library (floating-point-operations) seem to be
>very slow (factor 2-4 slower like under linux on the same machine) - i've
>also tried the msun lib (from 1.1.5) - but i can't see the big improvement -
>but floating point speed is important for me because i do mostly numerical
>stuff on that machine - can anybody tell me if there is a faster math-lib
>for freebsd - or if not - can somebody who knows something about this try to
>improve the mathlib

>t

>p.s.: i've compiled the msun lib with the HAVE_FPU define compiled - that
>is'nt the error

sorry - i've found my mistake now - at first: the msun-lib is faster than
the standard freebsd libm and secondly (my mistake): if you compile it with
the HAVE_FPU (i had a typo in the definition) it again faster - and it is as
fast as the one under linux - this way the problem is solved using the msun
lib - thanks to jean-marc zucconi

thomas

 ______________________________________________________||______________________
                                                 __||
 Perfection is reached, not when there is no  __||       thomas graichen
 longer anything to add, but when there   __||      freie universitaet berlin
 is no longer anything to take away   __||              fachbereich physik
                                  __||
 - Antoine de Saint-Exupery - __||
 ___________________________||____email: graichen@omega.physik.fu-berlin.de____
--

 ______________________________________________________||______________________
                                                 __||
 Perfection is reached, not when there is no  __||       thomas graichen