Package: ksh
Version: 93u+20120801-3.1
Severity: normal

--- Please enter the report below this line. ---

Floating point arithmetic no longer works in ksh. Here's how it used to
work:

> $ echo $((1./2))
> 0.5

... and this is how it works now:

> $ echo $((1./2))
> ksh: 1./2: arithmetic syntax error

The last version which actually supported FP arithmetic was
93u+20120801-1 in Debian 8.
The changelog for Debian 9 lists 4 more updates (93u+20120801-1.1,
93u+20120801-1.2, 93u+20120801-2 and 93u+20120801-3.1), but none of them
mentions any breaking changes.

--- System information. ---
Architecture:
Kernel: Linux 4.9.0-5-amd64

Debian Release: 9.3
500 stable-updates ftp.ru.debian.org
500 stable security.debian.org
500 stable ftp.ru.debian.org
100 stretch-backports ftp.ru.debian.org

--- Package information. ---
Depends (Version) | Installed
=============================-+-===========
libc6 (>= 2.23) |
binfmt-support |


Package's Recommends field is empty.

Package's Suggests field is empty.

Reply via email to