1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Back port ksh93v- float, int, and exp10 changes from math.tab (#299)

src/cmd/ksh93/data/math.tab:
- Added exp10().
- Remove int() as being an alias to floor().
- Created entries for local float() and local int() which are
  defined in features/math.sh.

src/cmd/ksh93/features/math.sh:
- Backport floor() and int() related code from ksh93v-.

src/cmd/ksh93/sh.1:
- Sync man page to math.tab's potential functions.
This commit is contained in:
hyenias 2021-05-07 23:43:37 -04:00 committed by GitHub
parent 6b3805724d
commit 92f7ca5423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 84 additions and 9 deletions

View file

@ -138,6 +138,10 @@ For more details, see the NEWS file and for complete details, see the git log.
$RANDOM sequence in the parent environment. In addition, upon
invoking a subshell, $RANDOM is now reseeded (as mksh and bash do).
26. The built-in arithmetic function int() has changed to round towards
zero instead of negative infinity. Previously, int() was an alias to
floor(), but now it behaves like trunc().
____________________________________________________________________________
KSH-93 VS. KSH-88