Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
202608a
Merge pull request #269 from JohanMabille/windows
JohanMabille Jul 4, 2023
1e02c50
Cleanup CI and README
JohanMabille Jul 4, 2023
8ba16fd
Merge pull request #270 from JohanMabille/cleanup_ci
JohanMabille Jul 4, 2023
dc6aa38
Fixed README badge
JohanMabille Jul 4, 2023
2fafba6
Added badges forw GHA workflows
JohanMabille Jul 4, 2023
953e8b3
test/CMakeLists.txt: remove extra find_package(Threads)
vincentbernat Oct 4, 2023
908958e
Merge pull request #271 from vincentbernat/patch-1
JohanMabille Oct 5, 2023
65e956f
Fixed RTD build
JohanMabille Oct 29, 2023
c8adef3
Unpinned breathe
JohanMabille Oct 29, 2023
2a01402
Added sphinx_rtd_theme to dependency list
JohanMabille Oct 29, 2023
3303ffd
Fixed jQuery not loaded on RTD page issue
JohanMabille Nov 2, 2023
88f154d
Fixed half errhandling throw except
ikuokuo Nov 3, 2023
7b9f7bb
Merge pull request #272 from ikuokuo/master
JohanMabille Nov 6, 2023
2c5e10c
Update xtype_traits.hpp
spectre-ns Dec 10, 2023
ae017d5
Merge pull request #274 from spectre-ns/patch-1
JohanMabille Dec 11, 2023
c95f6c8
Release 0.7.6
JohanMabille Dec 12, 2023
5566caa
Upgraded to cmake 3.5 to avoid warnings
JohanMabille Dec 14, 2023
b072176
Merge pull request #276 from JohanMabille/cmake
JohanMabille Dec 14, 2023
212c2b7
Use GetModuleFileNameW for wchar_t array
anutosh491 Dec 22, 2023
6c03d7b
Merge pull request #278 from anutosh491/wchar_t
JohanMabille Dec 22, 2023
a7c1c54
Release 0.7.7
JohanMabille Dec 22, 2023
144a958
Add missing includes to xbasic_fixed_string
laramiel Jan 10, 2024
a9a241c
Add missing includes to xdynamic_bitset.hpp
laramiel Jan 10, 2024
2ebf99f
Preprocessor fixes for xtl_config.hpp
laramiel Jan 10, 2024
407954e
Merge pull request #279 from laramiel/patch-1
JohanMabille Jan 10, 2024
7449116
Merge pull request #281 from laramiel/patch-3
JohanMabille Jan 10, 2024
d11fb6b
Merge pull request #280 from laramiel/patch-2
JohanMabille Jan 10, 2024
443eb2d
wip-module-path
SylvainCorlay May 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions .azure-pipelines/azure-pipelines-linux-clang.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .azure-pipelines/azure-pipelines-linux-gcc.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .azure-pipelines/azure-pipelines-osx.yml

This file was deleted.

84 changes: 0 additions & 84 deletions .azure-pipelines/azure-pipelines-win.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .azure-pipelines/unix-build.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# The full license is in the file LICENSE, distributed with this software. #
############################################################################

cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.5)
project(xtl)

set(XTL_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# ![xtl](docs/source/xtl.svg)

[![Appveyor](https://ci.appveyor.com/api/projects/status/wikc50xlb5rbrjy7?svg=true)](https://ci.appveyor.com/project/xtensor-stack/xtl)
[![Azure](https://dev.azure.com/xtensor-stack/xtensor-stack/_apis/build/status/xtensor-stack.xtl?branchName=master)](https://dev.azure.com/xtensor-stack/xtensor-stack/_build/latest?definitionId=2&branchName=master)
[![Linux](https://github.com/xtensor-stack/xtl/actions/workflows/linux.yml/badge.svg)](https://github.com/xtensor-stack/xtl/actions/workflows/linux.yml)
[![OSX](https://github.com/xtensor-stack/xtl/actions/workflows/osx.yml/badge.svg)](https://github.com/xtensor-stack/xtl/actions/workflows/osx.yml)
[![Windows](https://github.com/xtensor-stack/xtl/actions/workflows/windows.yml/badge.svg)](https://github.com/xtensor-stack/xtl/actions/workflows/windows.yml)
[![Documentation Status](http://readthedocs.org/projects/xtl/badge/?version=latest)](https://xtl.readthedocs.io/en/latest/?badge=latest)
[![Join the Gitter Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/QuantStack/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Expand Down
8 changes: 0 additions & 8 deletions azure-pipelines.yml

This file was deleted.

3 changes: 2 additions & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ channels:
- conda-forge

dependencies:
- breathe==4.16.0
- breathe
- sphinx_rtd_theme
14 changes: 14 additions & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@
Changelog
=========

0.7.7
-----

- Use GetModuleFileNameW for wchar_t array

0.7.6
-----

- Add missing #include <exception>
- Fix promote_type with two complex floats and one double
- test/CMakeLists.txt: remove extra find_package(Threads)
- Fixed half errhandling throw except
- Resolve issue promoting multiple std::complex

0.7.5
-----

Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def setup(app):
app.add_css_file("main_stylesheet.css")


extensions = ['breathe']
extensions = ['breathe', 'sphinx_rtd_theme']
breathe_projects = { 'xtl': '../xml' }
templates_path = ['_templates']
html_static_path = ['_static']
Expand Down
2 changes: 2 additions & 0 deletions include/xtl/xbasic_fixed_string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <stdexcept>
#include <string>
#include <cassert>
#include <algorithm>
#include <type_traits>

#ifdef __CLING__
#include <nlohmann/json.hpp>
Expand Down
4 changes: 4 additions & 0 deletions include/xtl/xdynamic_bitset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
#include <climits>
#include <type_traits>
#include <vector>
#include <initializer_list>
#include <iterator>
#include <memory>
#include <algorithm>

#include "xclosure.hpp"
#include "xspan.hpp"
Expand Down
19 changes: 18 additions & 1 deletion include/xtl/xhalf_float_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3996,14 +3996,31 @@ namespace half_float {
/// \throw std::range_error if `FE_INEXACT` is selected and set
inline void fethrowexcept(int excepts, const char *msg = "") {
excepts &= detail::errflags();
if(excepts & (FE_INVALID|FE_DIVBYZERO))
#if HALF_ERRHANDLING_THROWS
#ifdef HALF_ERRHANDLING_THROW_INVALID
if(excepts & FE_INVALID)
throw std::domain_error(msg);
#endif
#ifdef HALF_ERRHANDLING_THROW_DIVBYZERO
if(excepts & FE_DIVBYZERO)
throw std::domain_error(msg);
#endif
#ifdef HALF_ERRHANDLING_THROW_OVERFLOW
if(excepts & FE_OVERFLOW)
throw std::overflow_error(msg);
#endif
#ifdef HALF_ERRHANDLING_THROW_UNDERFLOW
if(excepts & FE_UNDERFLOW)
throw std::underflow_error(msg);
#endif
#ifdef HALF_ERRHANDLING_THROW_INEXACT
if(excepts & FE_INEXACT)
throw std::range_error(msg);
#endif
#else
std::fprintf(stderr, "%s\n", msg);
std::terminate();
#endif
}
/// \}
}
Expand Down
Loading