From ee0f60411c404822e5e9847402dab50f87ab2f28 Mon Sep 17 00:00:00 2001 From: tg Date: Wed, 17 Dec 2008 19:32:47 +0000 Subject: [PATCH] =?UTF-8?q?64=20bit=20mksh=20do=20not=20limit=20to=2032=20?= =?UTF-8?q?bit=20integer=20variables=20in=20*all*=20places=20=E2=98=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit XXX this has to be sorted out; we want to bump the internal integer XXX types to 64 bits some day anyway --- mksh.1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mksh.1 b/mksh.1 index 10b880a..f413708 100644 --- a/mksh.1 +++ b/mksh.1 @@ -1,4 +1,4 @@ -.\" $MirOS: src/bin/mksh/mksh.1,v 1.146 2008/12/17 19:25:54 tg Exp $ +.\" $MirOS: src/bin/mksh/mksh.1,v 1.147 2008/12/17 19:32:47 tg Exp $ .\" $OpenBSD: ksh.1,v 1.122 2008/05/17 23:31:52 sobrado Exp $ .\"- .\" Try to make GNU groff and AT&T nroff more compatible @@ -2131,7 +2131,10 @@ Grouping operators: ( ) .Ed .Pp -Integer constants are currently limited to 32-bit, signed or unsigned. +Currently, integer constants and expressions are calculated using the host +.Vt long +type, although some places, such as array indices, may limit them to 32 bits. +They can be signed or unsigned. Overflows wrap silently. Integer constants may be specified with arbitrary bases using the notation .Ar base Ns # Ns Ar number ,