Le 23/01/2011 15:24, Gilles Sadowski a écrit : > Hello. Hi Gilles,
> >> [...] >> >> I hope I will have a reliable version of scalb in the next few hours. >> >> Once scalb is ready, I will also commit hypot. It is already coded and >> teste, but it relies on scalb to avoid overflow/underflow (and in fact >> it helps me testing scalb). > > Do you keep an eye on the timing tests while comparing Math and FastMath? Not yet. You can give it a try by simply temporarily removing the @Ignore notation in the performance test in FastMathTest to see if we have done a good job or not. > > Pardon the naive question but it would be a pity to conclude that fixing > FastMath for the extreme values will not make it fast any longer... For widely used functions like cos, sin and the like, yes it would be a problem. For functions which appear only very seldom in general algorithms like scalb or nextAfter, it could be accepted. In fact, these versions are more useful as a way to backport some features from Java 6 to Java 5. best regards, Luc > > > Best, > Gilles > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org