Hi Bram,

labs is in the c89 standard. Is it widespread enough?

Hong Xu
2010/12/22

On 12/22/10, Bram Moolenaar <b...@moolenaar.net> wrote:
>
> Hong Xu wrote:
>
>> The attached file removes some unnecessary type casting in vim's
>> source file by replacing abs function with labs function.
>
> This uses the labs() function.  This currently is not used in the Vim
> source code.  I wonder if it is just as widespread as abs().  Would
> there be some old systems that does have abs() but not labs()?
>
> --
> hundred-and-one symptoms of being an internet addict:
> 36. You miss more than five meals a week downloading the latest games from
>     Apogee.
>
>  /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> \\\  an exciting new programming language -- http://www.Zimbu.org        ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
>

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to