2021-08-06

asher553: (Default)
2021-08-06 07:32 am
Entry tags:

Project01 - Exp, Sin, Cos code in C++

New version of the practice project I've been working on, computing Exponent, Sine, and Cosine functions using the Taylor series. This version has revised (and I hope clearer) comments, and makes full use of the ternary operator (in fact, nested ternaries) to compactly generate the alternating positive and negative terms for Sine and Cosine.

https://onlinegdb.com/slx0FfG8V