How to avoid overflow or underflow in mathematica?
- To: mathgroup at smc.vnet.net
- Subject: [mg88648] How to avoid overflow or underflow in mathematica?
- From: quantumfang <membrane at 163.com>
- Date: Sun, 11 May 2008 15:14:41 -0400 (EDT)
It's well known that Mathematica can do evaluation to arbitrary precision. But I don't know how to avoid the following trouble in computing: Ef = 0.; mu=0.; KBT = 1.*10^-10; FL[omega_Real] := 1./(1. + E^((omega - mu - Ef)/KBT)); the error message shows General::ovfl: Overflow occurred in computation. >> General::unfl: Underflow occurred in computation. >>
- Follow-Ups:
- Re: How to avoid overflow or underflow in mathematica?
- From: "W_Craig Carter" <ccarter@mit.edu>
- Re: How to avoid overflow or underflow in mathematica?
- From: Carl Woll <carlw@wolfram.com>
- Re: How to avoid overflow or underflow in mathematica?