[metapost] Strange result for angle() in MP 1.750

Taco Hoekwater taco at elvenkind.com
Wed Dec 7 09:22:07 CET 2011


Hi Dan,

On 12/06/2011 06:43 PM, Dan Luecking wrote:
>
> These numbers appear to all be off by a factor of 16,
> suggesting the bug is a simple oversight in the implementation
> of Knuth's algorithm. His algorithm treats angles internally
> as integer multiples of 2^{-20}, making them 16 times the
> usual numerics which are integer multiples of 2^{-16}.

Thanks. You are almost certainly right, and I will fix that next week 
(when I will finally have time for metapost again after lots of 
commercial work).

Best,
Taco


More information about the metapost mailing list