![]() So, going through the dozens of code files to find and fix all these situations will take a while but I will try my best to have it done before 4.3. Previously, if X were 0 I would catch later on that 1/X was too high a number, but in 4.3, this would cause an error and crash the addon so I'll have to be a lot more paranoid when doing division. For example, everywhere I have 1/X where X is some variable, I now have to make sure X is not zero. Some of the situations are easy enough to fix (just use math.huge instead of 1/0), but others are not so easy. It turns out, there are many situations in which dividing by zero is useful. Now, you might be wondering why anybody would divide by zero in the first place. So, it has been brought to my intention that Blizzard thought it would be fun to make diving by zero throw an error in 4.3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |