Re: Constraints 2014 new slides

On 26 March 2014 19:27, cowwoc <cowwoc@bbs.darktech.org> wrote:
> I mean what is the error margin between the expected and the available
> aspect ratio?

Pretty small.  I expect that we'll have to allow a small tolerance for
this when doing comparisons, i.e.,
  if (aspectRatio > desiredRatio - QUANTM && aspectRatio <
desiredRatio + QUANTM) { ...
Rather than
  if (aspectRatio === desiredRatio) { ...

But that's pretty commonplace when dealing with floating point values anyway.

Received on Thursday, 27 March 2014 02:32:48 UTC