*BSD News Article 29995


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!usenet.ins.cwru.edu!news.ysu.edu!yfn.ysu.edu!ap713
From: ap713@yfn.ysu.edu (Christopher L. Mikkelson)
Newsgroups: comp.os.386bsd.apps
Subject: Re: Anyone compiled Rayshade?
Date: 4 May 1994 03:10:14 GMT
Organization: St. Elizabeth Hospital, Youngstown, OH
Lines: 30
Message-ID: <2q73mm$7qa@news.ysu.edu>
References: <michaelv.767934209@ponderous.cc.iastate.edu> <explorer.767574319@tigger.cc.iastate.edu> <2ponm8$hes@news.ysu.edu> <2q
Reply-To: ap713@yfn.ysu.edu (Christopher L. Mikkelson)
NNTP-Posting-Host: yfn2.ysu.edu


In a previous article, michaelv@iastate.edu (Michael L. VanLoon) says:

>On what OS/processor?

FreeBSD-1.0 on a 486/33

To make a point on libm speed, the following program:

#include <math.h>

main()
{
        double          x, y;
        for (x = 0; x < 10000; x += 1)
                y = sqrt(x);
}

with libfpu:
[chris@mercury]~/work> /usr/bin/time stst
        0.21 real         0.05 user         0.04 sys

and with libm:
[chris@mercury]~/work> /usr/bin/time sqtst
        3.19 real         3.13 user         0.00 sys

Big difference.

-Chris
--