On 24/06/08 16:49, Bill McCarthy wrote:
[...]
> Hmm, I tried replacing:
>
>      let x = a:x + 0.0
>
> with
>
>    let x = type(a:x) == type(0.0) ? a:x : a:x + 0.0
>
> but that didn't printf() the -0.
>

It works for me, but try multiplying by 1.0 instead -- this way, I 
believe you won't have to check the type.


Best regards,
Tony.
-- 
First Law of Bicycling:
        No matter which way you ride, it's uphill and against the
wind.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui