diff options
author | scratko <m@scratko.xyz> | 2024-03-28 03:01:23 +0300 |
---|---|---|
committer | scratko <m@scratko.xyz> | 2024-03-28 03:01:23 +0300 |
commit | 7a0d2c2c47551600a0a4d7baad1058b87bf29cd7 (patch) | |
tree | 453632d9f97cb2682cf68a208801a6af2d81df12 | |
parent | 37f7978b517e2f00243703d510a6a53d4ea56f1e (diff) | |
download | trigonometric-table-7a0d2c2c47551600a0a4d7baad1058b87bf29cd7.tar.gz trigonometric-table-7a0d2c2c47551600a0a4d7baad1058b87bf29cd7.tar.bz2 trigonometric-table-7a0d2c2c47551600a0a4d7baad1058b87bf29cd7.zip |
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ # Trigonometric functions table generator (assembler NASM) -<img scr="trigonometric-table.png" /> +<img src="trigonometric-table.png" /> ## Introduction @@ -28,7 +28,7 @@ commands for arithmetic operations (fsin, fcos, fptan). Fptan calculates a value in a very interesting way: it places 1 on the top of the stack (ST0), and places the result (the tangent value) behind the top (ST1). -That is done to simplify the calculation of cotangent ($`1/tang`$). +That is done to simplify the calculation of cotangent (`1/tang`). Therefore, we divide ST0 by ST1 using the fdivp command, and the result is written to the top of the stack. |