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.
Auf dieser Seite können Sie das Online-Video fCPU Tutorial 3 - Math Functions mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer BLU12 Gaming 16 Januar 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 444 Mal angesehen und es wurde von 10 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!