Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Issue 1125043: Replaces fmod with modf. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 11 months ago by Alok Priyadarshi
Modified:
15 years, 11 months ago
Reviewers:
kbr1
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Replaces fmod with modf.

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/compiler/InfoSink.h View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 3
Alok Priyadarshi
15 years, 11 months ago (2010-05-06 22:14:15 UTC) #1
kbr1
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
Alok Priyadarshi
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.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b