Re: [Pharo-users] Continued Fractions

2017-09-20 Thread Stephane Ducasse
I wish you a lot of luck on this experience! On Tue, Sep 19, 2017 at 10:51 PM, p...@highoctane.be wrote: > I need to match print ads sizes from various publications with a > standardized list of ratios (e.g. 2:1, 1:1, 2:7...) plus a bunch of other > metrics. > > So a rect of 1543@331 gives a fl

Re: [Pharo-users] Continued Fractions

2017-09-19 Thread p...@highoctane.be
I need to match print ads sizes from various publications with a standardized list of ratios (e.g. 2:1, 1:1, 2:7...) plus a bunch of other metrics. So a rect of 1543@331 gives a float value that has can be best approximated by a continued fraction approach. But there are other complications. Now

Re: [Pharo-users] Continued Fractions

2017-09-19 Thread Stephane Ducasse
Hi phil just out of sane curiosity do you have a pointer on ratio and rectangle and continued fraction? Stef On Mon, Sep 18, 2017 at 12:40 PM, werner kassens wrote: > Hi Phil, > yes, in polymath it is the the object PMContinuedFraction. > werner > > > On 09/17/2017 08:38 PM, p...@highoctane.be

Re: [Pharo-users] Continued Fractions

2017-09-18 Thread werner kassens
Hi Phil, yes, in polymath it is the the object PMContinuedFraction. werner On 09/17/2017 08:38 PM, p...@highoctane.be wrote: > Ah, I see there is something in the Numerical Methods book. :rolleyes: > > Phil > > On Sun, Sep 17, 2017 at 8:30 PM, p...@highoctane.be >

Re: [Pharo-users] Continued Fractions

2017-09-17 Thread p...@highoctane.be
Ah, I see there is something in the Numerical Methods book. :rolleyes: Phil On Sun, Sep 17, 2017 at 8:30 PM, p...@highoctane.be wrote: > Do we have anything related to continued fractions in Pharo? > > https://en.wikipedia.org/wiki/Continued_fraction > > I need that to match rectanges to aspect

[Pharo-users] Continued Fractions

2017-09-17 Thread p...@highoctane.be
Do we have anything related to continued fractions in Pharo? https://en.wikipedia.org/wiki/Continued_fraction I need that to match rectanges to aspect ratios etc. TIA Phil