Movatterモバイル変換


[0]ホーム

URL:


Previous PageUp One LevelNext PagePython Library ReferenceContentsModule IndexIndex
Previous:3.4 fpectlUp:3.4 fpectlNext:3.4.2 Limitations and other

 
3.4.1 Example

The following example demonstrates how to start up and test operation ofthefpectl module.

>>> import fpectl>>> import fpetest>>> fpectl.turnon_sigfpe()>>> fpetest.test()overflow        PASSFloatingPointError: Overflowdiv by 0        PASSFloatingPointError: Division by zero  [ more output from test elided ]>>> import math>>> math.exp(1000)Traceback (most recent call last):  File "<stdin>", line 1, in ?FloatingPointError: in math_1


Previous PageUp One LevelNext PagePython Library ReferenceContentsModule IndexIndex
Previous:3.4 fpectlUp:3.4 fpectlNext:3.4.2 Limitations and other
Release 2.2.3, documentation updated on 30 May 2003.
SeeAbout this document... for information on suggesting changes.
[8]ページ先頭

©2009-2026 Movatter.jp