ematvey / go-fn

Automatically exported from code.google.com/p/go-fn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Patch for /fn/fn.go

GoogleCodeExporter opened this issue · comments

Fixed bug in HarmonicMean ( see http://en.wikipedia.org/wiki/Harmonic_mean ). 
Replaced "math.Log( 1.0 +" in line 109 with math.Log1p for increased numerical 
accuracy.

Original issue reported on code.google.com by odysseus...@gmail.com on 9 Aug 2012 at 6:07

Attachments:

applied, thanks!

Original comment by tyapca7 on 28 Mar 2013 at 4:07

  • Changed state: Fixed