--===============1857955745== Content-Type: multipart/signed; boundary="nextPart1288517.QYo7Mha7mp"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1288517.QYo7Mha7mp Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 26 April 2006 04:36 pm, Will Entriken wrote: > i think that looks find, unless you know the first value of d, before > you enter the loop, just make it that. > > good luck > -WE > > On 4/26/06, Dmitry Suzdalev wrote: > > On Thursday 27 April 2006 00:12, Will Entriken wrote: > > > std::numeric_limits::min() return the minimum positive value. > > > > Hmm... yes? :) > > Bahhh, I should read docs more carefully, thanks! :) > > > > > you could try maxd =3D -1 if d will be non-negative. that will be pre= tty > > > obvious what is going on. > > > > Nope, d might be negative - that's why I didn't use -1 for maxd. > > So, then another question: > > Maybe I'm wrong when I say that > > "-std::numeric_limits::max()" is messy-looking? > > > > Now that I know (thanks, Will), that min() return minimum _positive_ > > value, I think that using -max() is all right. Is this so? > > > > Thanks! > > Dmitry. > > > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > > >> unsubscribe << > >> > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > >> unsubscribe << Will can you please not top post? It breaks quoting and my train of though = on=20 the matter.... =2D-=20 Gary L. Greene, Jr. Sent from uriel.tolharadys.net 16:38:11 up 12 days, 4:35, 3 users, load average: 0.05, 0.06, 0.06 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Developer and Project Lead for PhoeNUX OS. check out http://www.phoenuxos.com/ for more info. EMAIL : greeneg@phoenuxos.com =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --nextPart1288517.QYo7Mha7mp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.18 (GNU/Linux) iD8DBQBET9ps+psNrGG9CbMRAl+/AKC3zwEH8AnirXSjxE4F/R1AK99rGACgwdjF Pl6WYC9+c1QHFmvaSlenPLU= =YyWb -----END PGP SIGNATURE----- --nextPart1288517.QYo7Mha7mp-- --===============1857955745== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1857955745==--