Looks to me like QB64 can handle values larger than 88...
There's our EXP functions. If you pass it a single, it needs a value of 88 or less. Pass it a double/float, and it works with a value < 709.
Code: (Select All)
// EXP
double func_exp_single(double value) {
if (value <= 88.02969) {
return exp(value);
}
error(6);
return 0;
}
long double func_exp_float(long double value) {
if (value <= 709.782712893) {
return exp(value);
}
error(6);
return 0;
}
There's our EXP functions. If you pass it a single, it needs a value of 88 or less. Pass it a double/float, and it works with a value < 709.