Rechercher une page de manuel
adime_evaluate
Langue: en
Version: version 2.2.1 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
adime_evaluateSYNOPSIS
#include <adime.h>double adime_evaluate(const char *equation, int *error, double (*var)(const char *name));
DESCRIPTION
Helper function for evaluating arithmetic expressions, which may be useful in your programs even though it isn't really logically connected to the other functions (i.e. it's not a gui function). It evaluates the provided equation, returning the result, and storing a nonzero value in `error' if anything goes wrong. If the `var' function is not NULL, this will be called whenever a variable is encountered in the expression, allowing you to look up and return a suitable value for it. For more information on the expressions, see expressi.txtSEE ALSO
adime_uevaluate(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre