summaryrefslogtreecommitdiff
path: root/src/core/bitmath_func.hpp
AgeCommit message (Collapse)Author
2021-07-09Cleanup: Remove now unused FOR_EACH_SET_BIT_EX macroglx22
2021-07-09Codechange: Remove FOR_EACH_SET_BITglx22
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-08-31Codechange: math functions - use cpp-style castsNikolas Nyby
2018-10-31Fix: [NewGRF] Make VA2 operator 11 (ror) behave well-defined when rotating ↵frosch
by 0 bits.
2013-08-05(svn r25685) -Codechange: [OSX] Use non-deprecated functions for byte swapping.michi_cc
2013-02-02(svn r24959) -Doc [FS#5459]: that certain parameters need to be within ↵rubidium
certain boundaries
2012-12-01(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from ↵alberth
various sources (including Eagle_rainbow, MinchinWeb)
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-09-06(svn r22898) -Codechange: use MSVC compiler intrinsics for byte swappingglx
2010-09-22(svn r20838) -Fix [FS#4136]: Cast '1' in bitmath functions to width of ↵alberth
result before shifting.
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
2010-05-11(svn r19789) -Add [FS#3519]: a typed FOR_EACH_SET_BIT (adf88)rubidium
2010-05-11(svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the ↵rubidium
passed bit variable, i.e. allow expressions as parameter
2010-02-05(svn r19019) -Codechange: use HasExactlyOneBit() and HasAtMostOneBit() ↵smatz
instead of CountBits() where possible
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-06-01(svn r16498) -Codechange: Remove hardly used HASBITS.frosch
2009-05-13(svn r16295) -Fix: ICC defined __GNUC__ but does not define ↵rubidium
__builtin_bswap32, so fall back to the default swap method for ICC.
2008-09-02(svn r14232) -Codechange: use builtin for byte swapping for gcc >= 4.3smatz
2008-08-01(svn r13910) -Document: string drawing related functions and types (Alberth)rubidium
2008-06-22(svn r13606) -Codechange: use "static FORCEINLINE" where possible as default ↵skidd13
for core functions (big functions use just inline instead)
2008-05-26(svn r13273) -Fix [FS#2042]: MSVC warnings (again)glx
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2007-12-25(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.rubidium
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-12-10(svn r11616) -Fix [FS#1526]: sometimes large values could go off the chart.rubidium
2007-12-02(svn r11559) -Fix [FS#1505]: overflow when drawing graphics with high ↵rubidium
company values.
2007-11-26(svn r11527) -Codechange: Split the bitmath functions of to their own filesskidd13