Groups | Search | Server Info | Login | Register


Groups > comp.lang.misc > #11733

Re: Algol 68 / Genie - Spacing in standard transput

From Andy Walker <anw@cuboid.co.uk>
Newsgroups comp.lang.misc
Subject Re: Algol 68 / Genie - Spacing in standard transput
Date 2026-01-03 12:42 +0000
Organization Not very much
Message-ID <10jb2qr$14db9$1@dont-email.me> (permalink)
References <10j5ng8$23rl9$2@dont-email.me>

Show all headers | View raw


On 01/01/2026 11:58, Janis Papanagnou wrote:
> As a non-native speaker I'm not sure whether "preceded by _a_ space"
> means all the padding spaces. I interpreted it as "a [one] space" to
> separate the numbers; formatting trash like "...000e  +0+4.560..."
> in the example above would thus be alleviated; at least a bit.

	Your interpretation is correct.  See RR10.3.3.1, which gives in
the comments the wording "a space is given and then V is output [...]"
and includes a space character in the actual code.  For complex numbers,
also " i" is inserted between the real and imaginary parts.

	So the A68G behaviour is [yet another] deviation, which is not
apparent in the A68G documentation.  Personally, I don't greatly care;
I use the default output for numbers only for quick-and-dirty programs
[such as "PR precision = 10000 PR long long sqrt (2)"].  The official
A68 transput model is really somewhat at odds with Linux and stream-
based transput.

-- 
Andy Walker, Nottingham.
    Andy's music pages: www.cuboid.me.uk/andy/Music
    Composer of the day: www.cuboid.me.uk/andy/Music/Composers/Kinross

Back to comp.lang.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Algol 68 / Genie - Spacing in standard transput Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-01-01 12:58 +0100
  Re: Algol 68 / Genie - Spacing in standard transput Andy Walker <anw@cuboid.co.uk> - 2026-01-03 12:42 +0000
    Re: Algol 68 / Genie - Spacing in standard transput Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-01-03 21:49 +0000
      Re: Algol 68 / Genie - Spacing in standard transput Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-01-04 14:14 +0100
    Re: Algol 68 / Genie - Spacing in standard transput Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-01-04 14:04 +0100

csiph-web