diff options
Diffstat (limited to 'chapters/pseudocode.adoc')
-rw-r--r-- | chapters/pseudocode.adoc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chapters/pseudocode.adoc b/chapters/pseudocode.adoc index d22d180..993c6e7 100644 --- a/chapters/pseudocode.adoc +++ b/chapters/pseudocode.adoc @@ -212,4 +212,16 @@ int32_t tensor_size(int32_t input[]) { } return size; } + +float_t pi() + returns value of pi + +float_t sin(angle) + return sine of angle given in radians + +float_t cos(angle) + return cosine of angle given in radians + +bool power_of_two(int32_t value) + return true if value is a power of two, false otherwise ---- |