Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Newsgroups: comp.lang.forth Subject: Re: "The Best Programming Language for the End of the World" Date: Tue, 15 Apr 2025 15:17:32 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 33 Message-ID: <2025Apr15.171732@mips.complang.tuwien.ac.at> References: <87bjtn2hct.fsf@gmail.com> <1b8e7e1b9809c3d36399ceb5438212d9@www.novabbs.com> Injection-Date: Tue, 15 Apr 2025 17:23:58 +0200 (CEST) Injection-Info: dont-email.me; posting-host="6e2eb02254fab5b3fa68f94713ef1ee6"; logging-data="4155430"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0l1Z7LkJ7b6Rwo2MNGQVl" Cancel-Lock: sha1:ZFXKDdAcjxr8jqEBfaD3f9sbLIs= X-newsreader: xrn 10.11 Bytes: 2036 albert@spenarnc.xs4all.nl writes: >1_0 2_0 F+ FS. \ algol 68 compatible. > >The exponent 0 can be ommitted: >1_ 2_ F+ FS. 3.0000000000000000000_ Python 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> print(1_0+2_0) 30 Gforth (development): 1_0 2_0 + . \ output: 30 1_ 2_ + . \ output: 3 >With _/~ you can print numbers like >567.123~ >and read in just the same. You can also print numbers like 567.123e and read in just the same. It's just that the specification of F. specifies neither "e" nor "~". - anton -- M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html New standard: https://forth-standard.org/ EuroForth 2023 proceedings: http://www.euroforth.org/ef23/papers/ EuroForth 2024 proceedings: http://www.euroforth.org/ef24/papers/