sloisel / numeric

Numerical analysis in Javascript
http://www.numericjs.com/
Other
1.42k stars 177 forks source link

numeric.round fails in 1.2.6 #29

Open NiQ-B opened 11 years ago

NiQ-B commented 11 years ago

Currently using numeric: version 1.2.4 extensively, throughout my application. Was trying to upgrade to 1.2.6 and received ReferenceError: round is not defined. Other functions seem to be miss behaving also.

Nothing changed other than the version increment change, my script load order is the same.

n = 1599055.556689

numeric.abs(n) ReferenceError: abs is not defined numeric.round(n) ReferenceError: round is not defined numeric.version "1.2.6"

Thanks for your time and effort

sloisel commented 11 years ago

Yes, this is a bug, I'll fix it.

pkleinhe commented 9 years ago

Also getting errors when trying to use numeric.cos()

Seems #63 might fix this.