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 ...
16 years, 1 month 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.
16 years, 1 month 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 16 years, 1 month ago by Alok Priyadarshi
Modified 16 years, 1 month ago
Reviewers: kbr1
Base URL: http://angleproject.googlecode.com/svn/trunk/
Comments: 2