Re: Remove some unnecessary type casting in vim's source file

2010-12-21 Thread Bram Moolenaar
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 ol

Re: Remove some unnecessary type casting in vim's source file

2010-12-21 Thread H Xu
Hi Bram, labs is in the c89 standard. Is it widespread enough? Hong Xu 2010/12/22 On 12/22/10, Bram Moolenaar 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() fun