View Single Post
Old 2006-11-21, 22:58   #15
rogue's Avatar
Apr 2003
Between here and the

6,469 Posts

Originally Posted by rogue View Post
One thing Phil forgot to mention was a bug fix in the yeafft source. I don't know if it affects these tests. I also don't recall exactly what the fix was (the code isn't in front of me). Either Phil or I can relay that information later in this thread.
In yeainit.c, add the middle line to y_init()as follows:

y_size_t y_init(y_size_t n)
n+=(n&1); /* round up to even, as we must be even sized */

y_size_t i = (1L << (sizeof(y_size_t) * 8 - 2)), j,
k = sizeof(y_size_t) * 8 - 1, old = Y_LENGTH;
rogue is offline   Reply With Quote