I guess special trigonomery functions like arcsin, arccos, arctg are not very important and it would be great to have en option in config to turn them off to save some memory on Arduino nano (for example).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
well, it's possible to save couple bytes if just comment them from project. For example: I need sin and cos functions, but never use arcsin and arccos. It's much better to have more space and use less variables to keep BASIC working on weak MC. But, if you, as project leader, deside not to make any changes - you have good reason for it. Anyway, sorry for disturbing/ ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I agree, that some functions (sin, cos, sqr .. ) are used times more often then others.
I can add a section in config_..hpp files, to control the contents of math module.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I guess special trigonomery functions like arcsin, arccos, arctg are not very important and it would be great to have en option in config to turn them off to save some memory on Arduino nano (for example).
These functions belong to Math module and can be disabled in configuration (USE_MATH macro).
well, it's possible to save couple bytes if just comment them from project. For example: I need sin and cos functions, but never use arcsin and arccos. It's much better to have more space and use less variables to keep BASIC working on weak MC. But, if you, as project leader, deside not to make any changes - you have good reason for it. Anyway, sorry for disturbing/ ;-)
I agree, that some functions (sin, cos, sqr .. ) are used times more often then others.
I can add a section in config_..hpp files, to control the contents of math module.
Inverse trigonometric functions are condition compilable since 0.8.
Last edit: Andrey Skvortsov 2017-05-19