fCPU Tutorial 3 - Math Functions

Publié le: 16 janvier 2022
sur la chaîne: BLU12 Gaming
444
10

In this tutorial I go over the use of math functions in fCPU.


You can find the blueprint for this tutorial here:
https://factorioprints.com/view/-MtcX...

fCPU Tutorial Playlist:
   • fCPU Tutorial 1 - Basic Overview  


Sections:

Arithmetic

0:22 (Addition) 2 Argument vs. 3 Argument commands

3:17 Get Informatron/Booktorio

3:43 Breif description of Modulo (mod) command

4:54 (Subtraction) fCPU handles negative numbers & decimals

5:44 Division & Decimals

5:59 'fract' - Get Decimal part of a number

7:13 'rand' - Get a Random number between two values

9:38 Inverted Arithmetic commands (subi, divi, powi, etc.)

10:56 Exponentiation with 'pow' & 'powi'

Trigonometry

13:00 Trigonometry functions are done in Radians

13:45 Euler's Number & Natural Logarithms

14:08 Word of caution when canceling values using inverse functions (You'll probably be left wtih an residual decimal value in addition to what you wanted)

15:15 (not important in any way) Brief tangent on the CORDIC algorithm

15:47 Recap on tips for using Trigonometric functions

16:19 Issues with using constants like Pi

16:59 Constants like Pi aren't built-in (so you'll have to save them manually (probably up to 15-20 decimal places if you really need precision)

18:05 Next parts in the tutorial series.


Sur cette page du site, vous pouvez voir la vidéo en ligne fCPU Tutorial 3 - Math Functions durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur BLU12 Gaming 16 janvier 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 444 fois et il a aimé 10 téléspectateurs. Bon visionnage!