大会code罪(X) [英] Assembly code for sin(x)
本文介绍了大会code罪(X)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想为计算装配code SIN(X)
(使用泰勒扩张),在Linux中。
I'd like assembly code for calculate sin(x)
(using "Taylor Expansion") in Linux.
推荐答案
请问这篇文章可以帮助您?
Would this article help you?
http://www.coranac.com/2009/07/sines/
它有一个近似计算罪(x)的值,与C和汇编版本的一对夫妇的算法。诚然,这是ARM汇编,但是它的精神应该很容易转换为x86或相似的。
It has a couple of algorithms for computing approximate sin(x) values, with both C and assembly versions. Granted, it's ARM assembly, but the gist of it should translate easily to x86 or similar.
这篇关于大会code罪(X)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文