*BSD News Article 17084


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!crcnis1.unl.edu!wupost!howland.reston.ans.net!xlink.net!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sun4nl!hacktic!hacktic!not-for-mail
From: cor@hacktic.nl (Cor)
Newsgroups: comp.os.386bsd.questions
Subject: perl pl36
Date: 13 Jun 1993 17:46:43 +0200
Organization: Hack-Tic, networking for the masses
Lines: 13
Message-ID: <1vfi5hINNg80@xs4all.hacktic.nl>
NNTP-Posting-Host: xs4all.hacktic.nl

Im not sure if this is just a fault on my side, but something weird
with perl.

perl -e 'printf "%d\n", 1.9' will print 2, and not 1 like its supposed to,

Is this perhaps a bug in the math library of 386bsd? 
Or am I doing something wrong. It works fine on linux and SunOS
cor
-- 
| cor@hacktic.nl | Hack-Tic System Management | +31-20-6001480-3 (VMB)  |
| -------------------------------------------------------------------------|
|   ######### Signature Virus Running. Contamination Complete #########    |
+--------------------------------------------------------------------------+