[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5658 Include

From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5658 Include <cmath> consistently, not <math.h>
Date: Thu, 16 Jan 2020 19:42:43 -0000

Patch counted down - please push

[issues:#5658] Include <cmath> consistently, not <math.h>

Status: Started
Created: Thu Jan 09, 2020 09:45 PM UTC by Dan Eble
Last Updated: Tue Jan 14, 2020 11:19 AM UTC
Owner: Dan Eble

In the past, we had problems with std::isinf and std::isnan not being
provided by <cmath> because they are C++11 features, so we were
including <math.h> in some places.

Now, we are using C++11. Because the code is also graced with
using namespace std; all over the place (see issue 4550), ambiguity
may arise. Using <cmath> consistently should improve the situation.

Sent from because address@hidden is subscribed to

To unsubscribe from further messages, a project admin can change settings at Or, if this is a mailing list, you can unsubscribe from the mailing list.

Testlilyissues-auto mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]