On Sat, Apr 12, 2008 at 4:58 PM, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> Here is an update for the floating point patch. The 'g' argument for
> printf() was implemented and a few bug fixes.
>
> This is to be applied to the original source code, without the older
> floating point patch.
>
> I would still like feedback on the format of floating point numbers:
>
> &123.456
> &1.23e-3
When left operand is number, can you require
space around '.' concatenation operator, otherwise '.'
is floating point ? Who needs concatenation of two constants anyway ?
123.456 " floating number
123 . 456 " concatenation of "123" and "456"
123. 456 " floating number 123. concatenated with "456"
123 .456 " integer 123, space, floating .456
123.e2 " floating number
123 . e2 "concatenation of number and variable
123. e2 "floating number, space, variable e2
123 .e2 "concatenation
?
Maybe backward-compatibility option for that ? (treat 123.456 as concat vs
floating ?)
Yakov
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---