Limitation of function EXP()
#4
(02-22-2023, 11:26 AM)BSpinoza Wrote: Why is in QB64 a limitation of the function EXP ?

        "EXP(numericExpression)
          ...
         The numericExpression must be less than or equal to 88.02969 or an "overflow" error will occur."

In C a similar limitation is much higher.

(I need it to use the Planck's law to calculate the spectral density of the electromagnetic radiation at low temperatures.)

With my C program the Planck's law can be applied at a temperature of 1K, in QB64 not lower than 102 K!

Good question. Say, can you do the whole calculation in log space rather than using the exp function? We do this a lot in statistical mechanics. Spill the math here if you want, I'll get there with you if its possible.
Reply


Messages In This Thread
Limitation of function EXP() - by BSpinoza - 02-22-2023, 11:26 AM
RE: Limitation of function EXP() - by mnrvovrfc - 02-22-2023, 11:59 AM
RE: Limitation of function EXP() - by Jack - 02-22-2023, 12:22 PM
RE: Limitation of function EXP() - by Jack - 02-22-2023, 07:49 PM
RE: Limitation of function EXP() - by Sprezzo - 02-22-2023, 02:51 PM
RE: Limitation of function EXP() - by Kernelpanic - 02-22-2023, 06:25 PM
RE: Limitation of function EXP() - by SMcNeill - 02-22-2023, 06:27 PM
RE: Limitation of function EXP() - by Kernelpanic - 02-22-2023, 06:48 PM
RE: Limitation of function EXP() - by BSpinoza - 02-23-2023, 04:44 AM
RE: Limitation of function EXP() - by Jack - 02-23-2023, 10:27 AM
RE: Limitation of function EXP() - by RhoSigma - 02-23-2023, 11:46 AM
RE: Limitation of function EXP() - by Jack - 02-23-2023, 02:57 PM
RE: Limitation of function EXP() - by jcm - 02-23-2023, 03:08 PM
RE: Limitation of function EXP() - by RhoSigma - 02-23-2023, 06:02 PM



Users browsing this thread: 6 Guest(s)