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

Issue 2099043: Clarify infinity_f preprocessor definition. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by Graham Percival (old account)
Modified:
13 years, 7 months ago
Reviewers:
carl.d.sorensen
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Clarify infinity_f preprocessor definition. The old code confuses various style programs, including our own fixcc.py (it produces un-compilable code!). In particular: ----- const Real infinity_f = #ifdef ----- which makes gcc unhapy. The new format is easy for style programs to deal with, still compiles, and is IMO just as clear anyway.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -5 lines) Patch
M flower/real.cc View 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 3
Graham Percival (old account)
I have another tiny clarity rewrite for code.
13 years, 7 months ago (2010-09-06 14:06:30 UTC) #1
Carl
LGTM. Anything we can do rationally to get automatic style fixers to work on our ...
13 years, 7 months ago (2010-09-06 14:23:36 UTC) #2
Graham Percival (old account)
13 years, 7 months ago (2010-09-06 14:46:39 UTC) #3
On 2010/09/06 14:23:36, Carl wrote:
> LGTM.

Thanks, pushed.
 

> Anything we can do rationally to get automatic style fixers to work on our
code
> should be done, IMO.

About 2.5 hours of work so far; not bad.  I think I'm about halfway.

Cheers,
- Graham
Sign in to reply to this message.

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