The fixed point ANN is not as precise as a floating point ANN, furthermore it approximates the sigmoid function by a stepwise linear function. Therefore,
it is always a good idea to test the fixed point ANN after loading it from a file. This can be done by calculating the mean square error as described
earlier. There is, however, one problem with this approach: The training data stored in the file is in floating
point format. Therefore, it is possible to save this data in a fixed point format from within the floating point program. This is done by the function
fann_save_train_to_fixed
. Please note that this function takes the decimal point
as an argument, meaning that the decimal point should be calculated first by using the
fann_save_to_fixed
function.