[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: pcb crooked traces
On Mon, Oct 11, 2010 at 10:34 PM, Andrew Poelstra <asp11@xxxxxx> wrote:
>> I think the only barrier is that you need to decide whether you use int
>> or float, as some calculations would be broken if they were designed for
>> ints and someone changed the typedef to float. But because those
>> claculations you alrady need to decide on that, so no difference.
>>
>
> We've already had that discussion.
>
>
> Andrew
>
I must admit, I just skimmed the discussion. I have a question about
the equality operator.
Is there anyplace in the codebase where coordinates are compared for
equality? where integer comparison is preferred to float comparison?
In other words, is there anyplace where an offset of 1nm would make a
difference to the analysis of the design? I am suspicious that doing
exact compares is a bad idea with extremely fine-grained integer math
just like it is with floating math. Remember, using integers doesn't
eliminate rounding error, it just puts a bound on it per operation.
Regards,
Mark
markrages@gmail
--
Mark Rages, Engineer
Midwest Telecine LLC
markrages@xxxxxxxxxxxxxxxxxxx
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user