mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Use cmath in c++ files.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "calculation.h"
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
using namespace Poincare;
|
||||
|
||||
namespace Calculation {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "calculation.h"
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
namespace Probability {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "local_context.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
using namespace Poincare;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <escher.h>
|
||||
#include <poincare.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include "curve_view_range.h"
|
||||
#include "curve_view_cursor.h"
|
||||
#include "banner_view.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "curve_view_cursor.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
namespace Shared {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "float_pair_store.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
#include <ion.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "function.h"
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <assert.h>
|
||||
|
||||
using namespace Poincare;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "function_graph_controller.h"
|
||||
#include "text_field_delegate_app.h"
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <float.h>
|
||||
|
||||
using namespace Poincare;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "function_graph_view.h"
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <float.h>
|
||||
using namespace Poincare;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "initialisation_parameter_controller.h"
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
namespace Shared {
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "interactive_curve_view_controller.h"
|
||||
#include "text_field_delegate_app.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <assert.h>
|
||||
|
||||
using namespace Poincare;
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#include "interactive_curve_view_range.h"
|
||||
#include <cmath>
|
||||
#include <float.h>
|
||||
#include <math.h>
|
||||
|
||||
namespace Shared {
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "memoized_curve_view_range.h"
|
||||
#include <cmath>
|
||||
#include <math.h>
|
||||
#include <assert.h>
|
||||
#include <ion.h>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "text_field_delegate_app.h"
|
||||
#include "../apps_container.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <string.h>
|
||||
|
||||
using namespace Poincare;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "zoom_parameter_controller.h"
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
namespace Shared {
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "histogram_view.h"
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
using namespace Shared;
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ void KDDrawLine(KDPoint p1, KDPoint p2, KDColor c) {
|
||||
}
|
||||
}
|
||||
/*
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <stdlib.h>
|
||||
|
||||
void KDDrawAntiAliasedLine(KDPoint p1, KDPoint p2, KDCoordinate width, KDColor frontColor, KDColor backColor) {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <poincare/list_data.h>
|
||||
#include <poincare/complex.h>
|
||||
#include <poincare/complex_matrix.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
namespace Poincare {
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ extern "C" {
|
||||
#include <float.h>
|
||||
}
|
||||
#include <cmath>
|
||||
#include <math.h>
|
||||
#include <poincare/complex_matrix.h>
|
||||
#include "layout/string_layout.h"
|
||||
#include "layout/baseline_relative_layout.h"
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* which is not installed by default on MacOS, we thus made the choice to prefer
|
||||
* compatibility with MacOS's default version (2.3) instead of using the code
|
||||
* requires feature. */
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <poincare.h>
|
||||
#include "expression_parser.hpp"
|
||||
using namespace Poincare;
|
||||
|
||||
@@ -3,8 +3,8 @@ extern "C" {
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
}
|
||||
#include <cmath>
|
||||
#include <poincare/complex.h>
|
||||
#include "layout/string_layout.h"
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ extern "C" {
|
||||
#include <stdlib.h>
|
||||
}
|
||||
#include <cmath>
|
||||
#include <math.h>
|
||||
#include <poincare/power.h>
|
||||
#include <poincare/multiplication.h>
|
||||
#include <poincare/opposite.h>
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
#include <poincare/variable_context.h>
|
||||
#include <poincare/preferences.h>
|
||||
#include <assert.h>
|
||||
extern "C" {
|
||||
#include <math.h>
|
||||
}
|
||||
#include <cmath>
|
||||
|
||||
namespace Poincare {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user