From owner-freebsd-current Tue Mar 18 9:31:26 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DF5637B401 for ; Tue, 18 Mar 2003 09:31:25 -0800 (PST) Received: from mailgate.rz.uni-karlsruhe.de (mailgate.rz.uni-karlsruhe.de [129.13.64.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB71743F3F for ; Tue, 18 Mar 2003 09:31:23 -0800 (PST) (envelope-from till@f111.hadiko.de) Received: from f111.hadiko.de (hadif111.hadiko.uni-karlsruhe.de [172.20.42.141]) by mailgate.rz.uni-karlsruhe.de with esmtp (Exim 3.36 #1) id 18vKvr-0004P2-00; Tue, 18 Mar 2003 18:31:23 +0100 Received: from f111.hadiko.de (localhost [127.0.0.1]) by f111.hadiko.de (8.12.7/8.12.8) with ESMTP id h2IHUqNN002359 for ; Tue, 18 Mar 2003 17:30:52 GMT (envelope-from till@f111.hadiko.de) Received: (from till@localhost) by f111.hadiko.de (8.12.7/8.12.8/Submit) id h2IHUprv002358 for freebsd-current@freebsd.org; Tue, 18 Mar 2003 18:30:51 +0100 (CET) Date: Tue, 18 Mar 2003 18:30:51 +0100 From: Till Riedel To: freebsd-current@freebsd.org Subject: libm problem Message-ID: <20030318173051.GA2322@f111.hadiko.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, since installed a new world this weekend strange things happen to me: {till@sabbath}-{~} $ cat test.c #include "math.h" int main() { int base=8; int dim=2; float res; res=pow((float)base,(float)dim); printf("%f\n",res); return 0; } {till@sabbath}-{~} $ gcc -lm test.c {till@sabbath}-{~} $ ./a.out 1.000000 what happened to my libm??? on my 4.8 box the result is 64 by the way :-) CPU: Pentium 4 (2411.60-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 any suggestions? thanks, till To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message