-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from stevenewald/arbitrary-zoom
Add arbitrary zoom
- Loading branch information
Showing
8 changed files
with
98 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
#pragma once | ||
|
||
#include <boost/multiprecision/cpp_bin_float.hpp> | ||
#include <boost/multiprecision/cpp_complex.hpp> | ||
#include <boost/multiprecision/fwd.hpp> | ||
#include <boost/multiprecision/number.hpp> | ||
|
||
#include <limits> | ||
|
||
namespace fractal { | ||
using small_float = boost::multiprecision::cpp_bin_float< | ||
128, boost::multiprecision::digit_base_2, void, int32_t, | ||
(std::numeric_limits<int32_t>::min() + 1024), 32>; | ||
// using complex_underlying = boost::multiprecision::number<small_float>; | ||
// using complex = boost::multiprecision::complex_adaptor<small_float>; | ||
using complex_underlying = double; | ||
} // namespace fractal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
#include "lib.hpp" | ||
|
||
#include <catch2/catch_test_macros.hpp> | ||
|
||
TEST_CASE("Name is fractal-generator", "[library]") | ||
{ | ||
auto const lib = library{}; | ||
REQUIRE(lib.name == "fractal-generator"); | ||
REQUIRE(true); | ||
} |