This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX math: implement lround().
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 8 Sep 2014 14:56:52 +0000 (10:56 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 8 Sep 2014 15:53:10 +0000 (11:53 -0400)
commit9e010b89244c9dc0f2a948a673b9eaa13709a731
tree108ab267c25dce6eb21aa18982caa664411b6776
parentfe9ad38131a99ee1b6965bfdc78fff0a3b5e5be2
POSIX math: implement lround().

Somehow had missed this so far, but probably because in Perl terms
it is very similar to round(), and very similar to rint().

The API variations are fascinating: round(), roundl(), lround(), lroundl(),
llround(), llroundl().
ext/B/t/concise-xs.t
ext/POSIX/POSIX.xs
ext/POSIX/lib/POSIX.pod