LGTM http://codereview.appspot.com/1125043/diff/1/2 File src/compiler/InfoSink.h (right): http://codereview.appspot.com/1125043/diff/1/2#newcode17 src/compiler/InfoSink.h:17: return modf(f, &intPart); I think this is picking ...
15 years, 11 months ago
(2010-05-06 22:35:45 UTC)
#2
LGTM
http://codereview.appspot.com/1125043/diff/1/2
File src/compiler/InfoSink.h (right):
http://codereview.appspot.com/1125043/diff/1/2#newcode17
src/compiler/InfoSink.h:17: return modf(f, &intPart);
I think this is picking up the overloaded C++ version of modf. It might be
better to use modff explicitly. I'm not sure which one is more portable. modff
is present in the Mac and Windows math.h headers but I'm not sure about Linux.
15 years, 11 months ago
(2010-05-06 22:49:21 UTC)
#3
http://codereview.appspot.com/1125043/diff/1/2
File src/compiler/InfoSink.h (right):
http://codereview.appspot.com/1125043/diff/1/2#newcode17
src/compiler/InfoSink.h:17: return modf(f, &intPart);
On 2010/05/06 22:35:46, kbr1 wrote:
> I think this is picking up the overloaded C++ version of modf. It might be
> better to use modff explicitly. I'm not sure which one is more portable. modff
> is present in the Mac and Windows math.h headers but I'm not sure about Linux.
>
Done.
Issue 1125043: Replaces fmod with modf.
(Closed)
Created 15 years, 11 months ago by Alok Priyadarshi
Modified 15 years, 11 months ago
Reviewers: kbr1
Base URL: http://angleproject.googlecode.com/svn/trunk/
Comments: 2