mksh arithmetic doesn't support bash **

Bug #1679426 reported by Elliott Hughes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mksh
New
Wishlist
Unassigned

Bug Description

mksh R54 (built from source) doesn't support bash-style $((3**4)). all the other arithmetic operators appear to be there.

Revision history for this message
Thorsten Glaser (mirabilos) wrote :

Not a bug: There is no “**” in POSIX shell or C either.

In general, the usefulness of this operator is rather limited in the scope of shell arithmetics (either mksh or POSIX), but I’ll keep this open as a wishlist item in case someone is bored or something. (No -lm allowed.)

Changed in mksh:
importance: Undecided → Wishlist
Revision history for this message
Elliott Hughes (enh-9) wrote :

yeah, i don't have a use for this. (spotted it running a test.) just wanted to file this difference from bash for reference.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.