yury
|
8fba43609d
+ Added overloaded version of stringdup() for ansistring to allow stringdup to be inlined.
|
6 years ago |
yury
|
e60a5ebfe7
* Fixed overflow error for the qword version of align() when i=0.
|
6 years ago |
yury
|
4860f3934a
* Fixed overflow error when calling align() with corner case values such as align($7FFFFFFC, 4) for the longint variant.
|
6 years ago |
florian
|
ea32ddd5b2
* avoid overflows of execution weight
|
7 years ago |
florian
|
68eb921d46
* broken compilation after r39347 fixed
|
7 years ago |
svenbarth
|
af6f094420
+ add reverse_longword() function that reverses the bit pattern for a longword, just like reverse_byte() and reverse_word() do for Byte and Word respectively
|
7 years ago |
florian
|
823c77e6cc
* avoid overflow error in ispowerof2 for -2^bitsize, the routine does not handle negative values
|
7 years ago |
nickysn
|
2af5c9d508
* changed type used for section alignment from byte/shortint to longint, so the
|
7 years ago |
svenbarth
|
5c447cba50
* fix for Mantis #32476: use the correct string to check i2
|
7 years ago |
nickysn
|
4b00414183
+ added helper isabspowerof2, which checks whether abs(value) is a power of 2
|
8 years ago |
florian
|
0897bd154a
+ align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records
|
8 years ago |
Károly Balogh
|
5426c11611
marked a few uses of TConstExprInt as const during parameter passing, to avoid a few unnecessary record copying
|
8 years ago |
svenbarth
|
62fc960e63
+ utility function to reverse the bit pattern of a Word
|
8 years ago |
Jonas Maebe
|
315b32918e
+ Tconstexprint-version of ispowerof2() to correctly deal with constants
|
9 years ago |
yury
|
432248cbf1
* Removed lot of unused vars.
|
10 years ago |
nickysn
|
949210e808
+ added min and max functions for Tconstexprint
|
12 years ago |
florian
|
2f8027c63f
+ more sophisticated code to optimize multiplications on arm
|
13 years ago |
masta
|
8001979f7e
Reworked ispowerof2 in cutils.pas
|
13 years ago |
Jonas Maebe
|
02413c8a57
* moved maybequoted() from cutils to cfileutl and let its behaviour vary
|
13 years ago |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 years ago |
Jonas Maebe
|
8a35bb090a
+ ansistring version of strpnew()
|
13 years ago |
Jonas Maebe
|
eb2cccffda
+ -WM<X> and -WP<x> command line parameters to specify the minimally required
|
13 years ago |
florian
|
cd644c4ecb
* VER2_0 overleft removed
|
13 years ago |
Jonas Maebe
|
b3cf95faf6
* use ' rather than " as quote character in generated shell scripts
|
13 years ago |
Jonas Maebe
|
13b0ac91d9
+ generate java.lang.Enum descendant classes for Pascal enum types
|
14 years ago |
Jonas Maebe
|
0700e2d7ef
+ support for {$namespace x.y.z} directive to specify the namespace
|
14 years ago |
Jonas Maebe
|
c05bc8a931
* let procdef typename-related routines return ansistrings instead of
|
14 years ago |
Jonas Maebe
|
a149674a75
Merged revisions 13458-13596 via svnmerge from
|
16 years ago |
Jonas Maebe
|
5885866990
+ support for objcencode() (equivalent of Objective-C's @encode()) + test
|
16 years ago |
Jonas Maebe
|
e7c9a380f7
* fixed comment describing pshortstring2pchar
|
16 years ago |