From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by ur; Sat Jul 1 08:51:04 EDT 2017 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6C354202D4 for <9front@9front.org>; Sat, 1 Jul 2017 08:51:02 -0400 (EDT) Received: from web2 ([10.202.2.212]) by compute1.internal (MEProxy); Sat, 01 Jul 2017 08:51:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=0iHsiJFt9RelOqgcww4kqZ9b6iCbR 6F0CMUXDLxM8Pg=; b=SUwwsqENKxZecIedf1XYBuQYhil7hees69QzEqsY5ChBv C5Aick8kXD4cvvhFE3LNtHEf/8u7Cv2xwaXop6yxQvI9hbqC+V0ixfbkc8GMW/Eu 8Ydd/9+IKXsnWa/ZkEQfZg/GhakbXnLv3Jq4h8BMGO/KMF4h1lhlX5yoPp4MAVKY jmWqUshpu/0TxTmIzZIwM4csJFf219ztZ+NTeqN9IOJJ9w4l5haDT75R+Wk2aWMM aVcyQFhWYlJHB6jY+2dTThTD9RCiA1FM8Na2+uAUOKXC1ee6peJyricw+iCcpHNm u5hvVCWW4IJSPpFgjzSCiP99Da61JeQCSpSFA1ESA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=0iHsiJ Ft9RelOqgcww4kqZ9b6iCbR6F0CMUXDLxM8Pg=; b=DcHZUvCvqyQKyseVnBiV2C NLvGGbZBUdbu66DEQTzDmg6DS9OSEqtCkeNPW6+Zg4g17VO1hDTPueH489QYYpU3 oQ200L0ari/ZPf3Wi2CzP3DiRdNjnYOeJsYGim9o0vbLzbiCvqtDjq9hC2vF6Ube 29Qz7r5mWu81wkUcjoxRcdrPcNf3pNmk6MG7vLGDQEKAHv/v2v8DhARGB0C8CHFr VU6GrREHXOkBiINOZFbcWg9AE9O5cHSeOCeu98UFFuidVvy/FOS8NMbpvtmK7B6/ NlH/mvc/CgmbO+KPToDQXhDrfmTgb8v4HMUJecvPXioVVdiYEwcIaP0XUwgoeIaQ == X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 35DD8627A2; Sat, 1 Jul 2017 08:51:02 -0400 (EDT) Message-Id: <1498913462.3457911.1027369768.20514A7A@webmail.messagingengine.com> From: Ethan Grammatikidis To: 9front@9front.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-6c54a332 In-Reply-To: <1498912104.3452962.1027355776.4D9B14C2@webmail.messagingengine.com> References: <1498912104.3452962.1027355776.4D9B14C2@webmail.messagingengine.com> Subject: Re: [9front] pc(1): integer-only entry Date: Sat, 01 Jul 2017 13:51:02 +0100 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: content-driven information-oriented just-in-time framework On Sat, Jul 1, 2017, at 01:28 PM, Ethan Grammatikidis wrote: > pc's man page says "Pc is an arbitrary precision calculator", but it responds to my attempts to enter non-integers by reporting 'syntax error', truncating them, or outright ignoring them. if there was a way to set the precision (as in dc and bc) then at least truncation would make sense, but there's nothing on the subject in the man page. it's also inconsistent on whether it ignores or reports a syntax error. i was confused for two reasons. pc's man page says nothing about it being integer-only, and the primary meaning of precision (and the only one in online cambridge dictionary, lol,) is "exactness" where integers imply rather coarse measurement. there is another meaning of 'precision' which is somewhat appropriate to integers. i suggest adding a word to /sys/man/1/pc, to correspond with mp(2): - is an arbitrary precision calculator with a special emphasis on supporting two's complement bit operations and working with different number bases. + is an arbitrary precision integer calculator with a special emphasis on supporting two's complement bit operations and working with different number bases. -- Linux? I used ext4 for a few years. In proportion to the time spent using it, I lost as much data to it as I lost to the very worst released version of reiserfs.