Skip to content

Commit

Permalink
Merge pull request #4116 from pleroy/CrSinCos
Browse files Browse the repository at this point in the history
Fix another reference to cr_cos and cr_sin
  • Loading branch information
pleroy authored Oct 15, 2024
2 parents 93594e3 + 787b9ae commit 8611d65
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 30 deletions.
5 changes: 0 additions & 5 deletions Principia.sln
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testing_utilities", "shared
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "functions", "functions\functions.vcxproj", "{7CCA653C-2E8F-4FFD-9E9F-BEE590F3EFAB}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "functions", "shared\functions.vcxitems", "{5F9338E3-D7FF-4C66-AFA2-B9E27A2CE3E2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -711,7 +709,6 @@ Global
{388CBEA7-7BC1-4146-8813-66B951E63A96} = {6722AD00-0A85-4156-B912-38E99A12AE75}
{C59F84DA-2F82-43DD-BBA4-5A469B32557C} = {6722AD00-0A85-4156-B912-38E99A12AE75}
{2E39517A-4713-455F-8C78-610DDFD8EA99} = {6722AD00-0A85-4156-B912-38E99A12AE75}
{5F9338E3-D7FF-4C66-AFA2-B9E27A2CE3E2} = {6722AD00-0A85-4156-B912-38E99A12AE75}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {332981CB-A6C7-4BD0-9EE0-8E8C6FB4E01A}
Expand All @@ -733,10 +730,8 @@ Global
shared\base.vcxitems*{5eea5210-0fa9-4b44-8466-c40b22d24e8e}*SharedItemsImports = 4
shared\geometry.vcxitems*{5eea5210-0fa9-4b44-8466-c40b22d24e8e}*SharedItemsImports = 4
shared\numerics.vcxitems*{5eea5210-0fa9-4b44-8466-c40b22d24e8e}*SharedItemsImports = 4
shared\functions.vcxitems*{5f9338e3-d7ff-4c66-afa2-b9e27a2ce3e2}*SharedItemsImports = 9
shared\astronomy.vcxitems*{7b174b21-0837-4bee-864e-08ad3c74046a}*SharedItemsImports = 4
shared\base.vcxitems*{7b174b21-0837-4bee-864e-08ad3c74046a}*SharedItemsImports = 4
shared\functions.vcxitems*{7b174b21-0837-4bee-864e-08ad3c74046a}*SharedItemsImports = 4
shared\geometry.vcxitems*{7b174b21-0837-4bee-864e-08ad3c74046a}*SharedItemsImports = 4
shared\numerics.vcxitems*{7b174b21-0837-4bee-864e-08ad3c74046a}*SharedItemsImports = 4
shared\testing_utilities.vcxitems*{7b174b21-0837-4bee-864e-08ad3c74046a}*SharedItemsImports = 4
Expand Down
1 change: 0 additions & 1 deletion benchmarks/benchmarks.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<Import Project="..\shared\numerics.vcxitems" Label="Shared" />
<Import Project="..\shared\testing_utilities.vcxitems" Label="Shared" />
<Import Project="..\shared\astronomy.vcxitems" Label="Shared" />
<Import Project="..\shared\functions.vcxitems" Label="Shared" />
</ImportGroup>
<ItemGroup>
<ClCompile Include="..\ksp_plugin\planetarium.cpp" />
Expand Down
6 changes: 2 additions & 4 deletions benchmarks/elementary_functions_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,15 @@
#include "base/macros.hpp" // 🧙 For PRINCIPIA_REPEAT.
#include "benchmark/benchmark.h"
#include "benchmarks/metric.hpp"
#include "functions/cos.hpp"
#include "functions/sin.hpp"
#include "core-math/cos.h"
#include "core-math/sin.h"
#include "numerics/sin_cos.hpp"
#include "quantities/numbers.hpp" // 🧙 For π.

namespace principia {
namespace functions {

using namespace principia::benchmarks::_metric;
using namespace principia::functions::_cos;
using namespace principia::functions::_sin;
using namespace principia::numerics::_sin_cos;

static constexpr std::int64_t number_of_iterations = 1000;
Expand Down
20 changes: 0 additions & 20 deletions shared/functions.vcxitems

This file was deleted.

0 comments on commit 8611d65

Please sign in to comment.