9 Commits

Author SHA1 Message Date
John Wellbelove
aeb8e4f734 Formatted source files 2026-04-02 14:11:45 +01:00
Roland Reichwein
b83cef5668
Fix compilation with -Wsign-conversion (#1367)
* Fix compilation with -Wsign-conversion

For tests with GCC and Clang

Fixes https://github.com/ETLCPP/etl/issues/632

* Fix support of negative Id in type_lookup.h: type_from_id

* Fix element access arithmetic in atomic_gcc_sync.h fetch_add/fetch_sub

* Fix rounded_integral_division.h: divide_round_half_odd(): direction is always 1
2026-03-28 11:15:56 +00:00
John Wellbelove
d884719098 Fixed all 'extra semicolon' warnings 2025-12-16 09:15:26 +00:00
rolandreichweinmusic
28da1fa3ef
Fix tests on big endian (#1142)
* Fix bitset_new test: bitset is implemented as little endian container

* Fix test_bsd_checksum.cpp: endian test was only implemented for little endian

* Fix endianness test

* Fix endian in crc tests

* Fix test_fnv_1

* Fix test_hash

* Fix test_jenkins

* Fix test_memory

* Fix pearson test

* Fix test_xor_rotate_checksum

* Fix murmur test
2025-07-07 08:55:59 +01:00
John Wellbelove
1da482d616 Updated CRC constexpr tests for 'force C++03 implementation' option 2025-01-27 19:04:30 +00:00
Zob314
14b50c6541
Allow compile time CRC calculation (#1016)
* Making crc constexpr for c++14. Allows compile time CRC computation.

* Fix syntax when using c++03 or `ETL_FORCE_NO_ADVANCED_CPP`

* Remove use of `ETL_FORCE_NO_ADVANCED_CPP` option since it is no longer used.

---------

Co-authored-by: Zach O'Brien <zach.obrien@tortugaagtech.com>
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
2025-01-24 15:20:05 +00:00
John Wellbelove
baa47d1c33 Updated copyright notice 2022-06-10 21:45:37 +01:00
CanastraRF
7c0f169b66
literal with suffix (#416) 2021-08-23 11:01:18 +01:00
John Wellbelove
70f0b92a0d CRC updates 2021-03-29 13:54:12 +01:00