Sam Hocevar
01e1b2736d
Implement erfcx()
3 lat temu
Sam Hocevar
f1b95ac648
Simplify sinh() and tanh() code now that we have expm1()
3 lat temu
Sam Hocevar
22ab502072
Refactor erf() and add erfc()
3 lat temu
Sam Hocevar
45fbe2bdb3
Add expm1() and log1p() for real numbers
3 lat temu
Sam Hocevar
37d6d2f18a
Add a sign() function for real numbers.
5 lat temu
Sam Hocevar
c95c207825
Fix more spacing.
5 lat temu
Clanmaster21
0261bb0774
Fix spacing
5 lat temu
Clanmaster21
234b5310c6
Optimisations in arbitrary precision float multiplication
5 lat temu
Sam Hocevar
c19f584e26
Assume a system always has threads unless LOL_NOTHREADS is defined.
For more information the user can rely on std:🧵 :hardware_concurrency().
5 lat temu
Sam Hocevar
2c61a5e805
Start working on a new image class.
5 lat temu
Sam Hocevar
db10f5875e
Rename narray_view to narray_span and allow creation from a const container.
5 lat temu
Sam Hocevar
c8cd64d207
Add C++11 iterators to narray class.
5 lat temu
Sam Hocevar
cffee479d3
Add narray_view class, similar to std::span for n-dimensional arrays.
5 lat temu
Sam Hocevar
e073082150
Rename arraynd to old_arraynd and create new lol::narray implementation.
5 lat temu
Sam Hocevar
83370c7293
Fix Windows compilation.
5 lat temu
Sam Hocevar
c97a8c64ba
Add <lol/file> to easily read and write files.
5 lat temu
Sam Hocevar
46f0426ade
Update the step and cli11 submodules with custom patches.
5 lat temu
Sam Hocevar
2f9c6b29f7
Use CLI11 instead of clipp for command line parsing.
5 lat temu
Sam Hocevar
f893fe0188
Add <lol/algo/suffix_array> module that exposes the Step library.
5 lat temu
Sam Hocevar
035e79c424
Fix lower bit entropy issue with lol::rand().
5 lat temu
Sam Hocevar
80481a587c
Remove <numeric.h> and <interp.h>, they’re almost unused.
5 lat temu
Sam Hocevar
10f78b3a45
Update PEGTL submodule.
5 lat temu
Sam Hocevar
8ce1b6ec9c
Fix the LOL_DEBUG environment variable handling logic.
5 lat temu
Sam Hocevar
42d43c24a7
Update portable file dialogs submodule.
5 lat temu
Sam Hocevar
c806e77280
Minor compilation fixes.
5 lat temu
Sam Hocevar
7e540d8eff
Implement <lol/msg> to replace <lol/base/log.h> in the future.
5 lat temu
Sam Hocevar
b85dc6cd00
Remove workaround for an old threading bug in Visual Studio 2013.
According to https://devblogs.microsoft.com/cppblog/stl-fixes-in-vs-2015-part-2/
this was fixed in VS 2015.
5 lat temu
Sam Hocevar
0a7b6367d6
Update portable-file-dialogs and pegtl submodules.
5 lat temu
Sam Hocevar
d21392096a
Fix GCC compilation issue.
5 lat temu
Sam Hocevar
415409d2a7
Use <lol/cli> and namespace lol::cli for argument parser API.
5 lat temu
Sam Hocevar
dead6fe3bf
Fix unresolved symbol issue introduced by recent OS X fixes.
5 lat temu
Sam Hocevar
93ad6b7ab1
Fix g++ compilation on OS X Catalina.
5 lat temu
Sam Hocevar
b5a498ad14
Try to use the clipp library for argument parsing.
5 lat temu
Sam Hocevar
29758c1458
Math: simplify vector swizzling rules.
5 lat temu
Sam Hocevar
3bceb0b46f
Math: remove some obsolete swizzling members for vectors.
5 lat temu
Sam Hocevar
7eb81936e2
containers: add insert_at() utility function.
5 lat temu
Sam Hocevar
c1645f5e8b
Add a pair of headers to guard against intrusive Windows macros.
5 lat temu
Sam Hocevar
b85c7adfe6
Big header refactor yet again.
Let’s see how it goes with a very flat hierarchy and no .h extension.
5 lat temu
Sam Hocevar
68adfe975f
Clean up math/functions.h header.
5 lat temu
Sam Hocevar
342c9ea0fd
Add portable-file-dialogs submodule to 3rdparty.
5 lat temu
Sam Hocevar
4bad4a9cdf
Remove undocumented variable in getopt().
5 lat temu
Sam Hocevar
e6472db0b5
Add C string variants of starts_with() and ends_with().
5 lat temu
Sam Hocevar
8ea7dcfbcf
Move noise functions to the clean header namespace.
5 lat temu
Sam Hocevar
c1d74196da
Add a few helper functions for std::vector.
5 lat temu
Sam Hocevar
ec5f308bd3
Clean up abs/fabs discrepancies here and there.
5 lat temu
Sam Hocevar
ecc3aee6e1
Various Windows compilation fixes.
5 lat temu
Sam Hocevar
d05eb96665
Improve standalone inclusion support.
5 lat temu
Sam Hocevar
f65ab0fa1e
Fix Windows compilation.
5 lat temu
Sam Hocevar
c696030648
Add <lol/base/lolunit.h> header for unit tests.
5 lat temu
Sam Hocevar
02bb54bdf9
Refactor the color class.
This code is not of very good quality, but a few methods such as the
RGB/HSV/HSL/YUV conversions are still useful, so I’m deciding to keep
them for now.
5 lat temu