From owner-freebsd-hackers Sat Oct 3 11:53:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA11384 for freebsd-hackers-outgoing; Sat, 3 Oct 1998 11:53:51 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from math.berkeley.edu (math.Berkeley.EDU [128.32.183.94]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA11377 for ; Sat, 3 Oct 1998 11:53:50 -0700 (PDT) (envelope-from dan@math.berkeley.edu) Received: (from dan@localhost) by math.berkeley.edu (8.8.7/8.8.7) id LAA04652; Sat, 3 Oct 1998 11:53:29 -0700 (PDT) Date: Sat, 3 Oct 1998 11:53:29 -0700 (PDT) From: dan@math.berkeley.edu (Dan Strick) Message-Id: <199810031853.LAA04652@math.berkeley.edu> To: freebsd-hackers@FreeBSD.ORG Subject: IEEE floating point arithmetic Cc: dan@math.berkeley.edu Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am under the impression that the FreeBSD (gnu) C-compiler does IEEE 754 compatible floating poing arithmetic and that this means that floating point operations like (1.0 / 0.0) should return a special value that means +infinity. What I get is a core dump. Am I supposed to include some special math library or give some special cc command option? Thanks, Dan Strick dan@math.berkeley.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message