noel_·11 ปีที่แล้ว·discussJavaScript doesn't have tanh built in, so you have to use an approximate:http://stackoverflow.com/questions/6118028/fast-hyperbolic-t...
http://stackoverflow.com/questions/6118028/fast-hyperbolic-t...