Topic: Editorial: abs(long long) should return long long
Author: noreply@this.is.invalid (Niels Dekker - no return address)
Date: Sun, 10 Jun 2007 17:11:34 GMT Raw View
Quoting the latest draft (n2135), section 26.7 [c.math]:
The added signatures are:
long abs(long); // labs()
long abs(long long); // llabs()
Shouldn't abs(long long) have "long long" as return type?
--
Niels Dekker
http://www.xs4all.nl/~nd/dekkerware
Scientific programmer at LKEB, Leiden University Medical Center
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]