Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: (provisional) underscores in constants in numeric evaluation
- X-seq: zsh-workers 30648
- From: Jérémie Roquet <arkanosis@xxxxxxxxx>
- To: "Zsh Hackers' List" <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: (provisional) underscores in constants in numeric evaluation
- Date: Thu, 30 Aug 2012 16:18:23 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=IoB7YCKbnVV/POse2aguHafBF5CFrzi1S57cz4+ZNKQ=; b=bHb4HzafXqeEwqW0lYgt7CYUbuwrYXMl6HwzqRM62xPaZO2eyLOstbSUnvXj3FIp6F bhR83l70WYxk7OlwB35lfqe7829i6ua/3Vzw0mOsjcwJL0taSBcGvoqo0ByU+7cez7iL Jf2yiXX7RtnkfuZVZ1PO7v/U/8DzBinab8R+6ISAE7raXqVgB0m7fjOqVsKtYOupwyTK JSvjCrb4018lyVTYyvv/royaitZIgiySmD/owLB6EcZn0zv4EPT4YJQ5p0m3AEPy8MUk Dl1hLFdIPjPoXe3Gyt6UmlDnXVt2duazno6GbAG27si08Crl4wNlXo4ZPOqZv7KLwXiy oObA==
- In-reply-to: <20120830151124.47ed724f@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20120830151124.47ed724f@pwslap01u.europe.root.pri>
Hi,
2012/8/30 Peter Stephenson <Peter.Stephenson@xxxxxxx>:
> Some scripting languages allow dummy "_"s in numeric constants so you
> can count the decimal places. This is very convenient if you're doing
> arithmetic with large integers.
Cannot say if the patch is safe or not, but I'd really enjoy this
feature (which is also available in D, btw).
Thanks!
--
Jérémie
Messages sorted by:
Reverse Date,
Date,
Thread,
Author