fpectl

Matt matthew_shomphe at countrywide.com
Mon Apr 18 12:54:49 EDT 2005


Sébastien Boisgérault wrote:
> Hi all,
>
> Can anybody tell me why I can't load the fpectl module in my Python
> interpreter:
>
> >>> import fpectl
> Traceback: ...
> ...
> ImportError: No module named fpectl
>
> My platform is Linux (Mandrake 10.x) + Python2.4, built from the
> (python.org) sources and configured with the --with-fpectl option.
>
> Any idea ? Is the Python Library Reference obsolete on this point or
> did I miss something ?
>
> I have understood from the previous posts on the subject that the
whole
> floating-point issue (or specifically IEEE 754 support) is quite
> complex
> and highly platform-dependent. Therefore I guess that I cannot take
for
> granted the expected behavior of fpectl functions. But at least I
> should
> be able to import it, shouldn't I ?
>
> Cheers,
>
> S.B.

I'd assume it's because you're on a non-Unix system.  The docs
(http://www.python.org/doc/2.3.5/lib/module-fpectl.html) say:
Availability: Unix

I'm assuming that means you can't use it on a Windows platform (or any
non-Unix environment)...




More information about the Python-list mailing list