FredSRichardson Posted January 27, 2007 Share Posted January 27, 2007 This is more of a note to myself. But I was a bit surprised to find out that WeiDU's short_of_str_off function always returns an unsigned short, whereas NearInfinity alway displays signed shorts. Um, so anyway, it's a disaster to check "i < 0" when "i" comes from "short_of_str_off". Instead you have to do something else like "i = 0xFFFF" (-1) or "i land 0x8000" (negative) since the value is stored in a 4 byte int. Such a pain... Link to comment
the bigg Posted January 27, 2007 Share Posted January 27, 2007 I have given up on giving a sense to much of WeiDU internals a long time ago myself, aye. Link to comment
FredSRichardson Posted January 27, 2007 Author Share Posted January 27, 2007 I have given up on giving a sense to much of WeiDU internals a long time ago myself, aye. I understand that better now, and you have my deepest sympathy for maintaining such a beast -Fred Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.