Skip to content

Commit

Permalink
Update copyright year.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwallerb committed Nov 27, 2023
1 parent e022f0d commit 62e3365
Show file tree
Hide file tree
Showing 23 changed files with 31 additions and 24 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022 Markus Wallerberger and others
# Copyright (C) 2023 Markus Wallerberger and others
# SPDX-License-Identifier: MIT
#
cmake_minimum_required(VERSION 3.9)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2022 Markus Wallerberger and others
Copyright (C) 2023 Markus Wallerberger and others

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,19 @@ is 6u². We report the largest observed error here [^1].

Installation
------------
libxprec has no mandatory dependencies other than a C++11-compliant compiler.
If you want to run the tests, you need to have GNU MPFR installed and add
`-DBUILD_TESTING=ON` to the cmake flags.

mkdir build
cd build
cmake .. [EXTRA_CMAKE_FLAGS_GO_HERE]
cmake .. [-DBUILD_TESTING=ON] [EXTRA_CMAKE_FLAGS_GO_HERE]
make
./tests
./test/tests

xprec is faster when using the fused-multiply add (FMA) instruction, which should
be available on most modern CPUs. We recommend adding `CMAKE_CXX_FLAGS=-mfma`
to the cmake command.

License and Copying
-------------------
Expand Down
2 changes: 1 addition & 1 deletion config/cmake/FindMPFR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#
# - MPFR::MPFR : imported target if library has been found
#
# Copyright (C) 2022 Markus Wallerberger and others
# Copyright (C) 2023 Markus Wallerberger and others
# SPDX-License-Identifier: MIT
#
include(FindPackageHandleStandardArgs)
Expand Down
2 changes: 1 addition & 1 deletion config/cmake/VersionFromHeader.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Utility for extracting version from C header
#
# Copyright (C) 2022 Markus Wallerberger and others
# Copyright (C) 2023 Markus Wallerberger and others
# SPDX-License-Identifier: MIT

# Function to extract version string from header file
Expand Down
2 changes: 1 addition & 1 deletion include/xprec/ddouble-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Most of the basic numerical algorithms are directly lifted from:
* M. Joldes, et al., ACM Trans. Math. Softw. 44, 1-27 (2018)
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#pragma once
Expand Down
2 changes: 1 addition & 1 deletion include/xprec/ddouble.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Small double-double arithmetic library.
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#pragma once
Expand Down
2 changes: 1 addition & 1 deletion include/xprec/version.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Small double-double arithmetic library - version info
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#define XPREC_VERSION_MAJOR 0
Expand Down
2 changes: 1 addition & 1 deletion src/circular.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Trigonometric functions to quad precision.
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#include "xprec/ddouble.h"
Expand Down
2 changes: 1 addition & 1 deletion src/ddouble.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Mathematical functions to quad precision.
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#include "xprec/ddouble.h"
Expand Down
2 changes: 1 addition & 1 deletion src/exp.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Mathematical functions to quad precision.
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*
* Most strategies are adapted from DoubleFloats.jl which is
Expand Down
2 changes: 1 addition & 1 deletion src/hyperbolic.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Hyperbolic functions to quad precision.
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#include "xprec/ddouble.h"
Expand Down
2 changes: 1 addition & 1 deletion src/io.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Input/Output functions.
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#include "xprec/ddouble.h"
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022 Markus Wallerberger and others
# Copyright (C) 2023 Markus Wallerberger and others
# SPDX-License-Identifier: MIT
#
# Require Catch2 for tests
Expand Down
2 changes: 1 addition & 1 deletion test/arith.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Tests
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#include <catch2/catch_test_macros.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/catch2-addons.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Convenience functions for Catch2
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#pragma once
Expand Down
2 changes: 1 addition & 1 deletion test/circular.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Tests
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#include <catch2/catch_test_macros.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/convert.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Tests
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#include <catch2/catch_test_macros.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/exp.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Tests
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#include <catch2/catch_test_macros.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/funcs.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Tests
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#include <catch2/catch_test_macros.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/hyperbolic.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Tests
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#include <catch2/catch_test_macros.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/mpfloat.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Tests for MPFloat
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#include <catch2/catch_test_macros.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/mpfloat.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Convenience wrapper for MPFloat to allow nice object-oriented stuff.
*
* Copyright (C) 2022 Markus Wallerberger and others
* Copyright (C) 2023 Markus Wallerberger and others
* SPDX-License-Identifier: MIT
*/
#pragma once
Expand Down

0 comments on commit 62e3365

Please sign in to comment.