[DGD] 1.2.51
Felix A. Croes
felix at dworkin.nl
Sat Nov 16 18:52:19 CET 2002
diff -c dgd/src/Changelog:1.289 dgd/src/Changelog:1.290
*** dgd/src/Changelog:1.289 Sat Aug 24 19:30:55 2002
--- dgd/src/Changelog Sat Nov 16 18:26:02 2002
***************
*** 1523,1525 ****
--- 1523,1530 ----
- Fixed several bugs which could, in rare cases, cause nil to turn up in
mappings that had been accessed from atomically executed code.
- Fixed a bug in error recovery for compiling switch statements.
+ - Fixed a bug that could occur when upgrading an interpreted object to
+ precompiled.
+ - Floating point multiplication is now a little faster.
+ - Implemented hash_crc32(), hash_sha1(), asn_add(), asn_sub(), asn_mult(),
+ asn_div() and asn_mod().
ftp://ftp.dworkin.nl/pub/dgd/experimental/patches/1.2.50-1.2.51.gz
Documentation for the asn_* functions is not yet included, so here is a
quick overview:
ASN stands for "arbitrary size number". In LPC, such numbers are
represented by big-endian strings. If the highest bit of the first
character of the string is set, the number is assumed to be negative,
and in two's complement format. If you want to represent a positive
number that starts with a byte that would make the string representation
negative, simply precede it with a \0 character. For example,
"\0\xff"
represents the positive number 0xff.
All of the ASN functions except for asn_mod() take 3 arguments, the
third argument being the modulus, which must be a positive number
greater than zero.
To compile DGD1.2.51 with MSVC, make sure to add the new source file,
"asn.c", to the project.
Regards,
Dworkin
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list