added triple precision from qiqi
Merge remote-tracking branch 'upstream/master' into dev