How to get the minimum number that can be represented?
Peng Yu
pengyu.ut at gmail.com
Sat Sep 19 23:48:06 EDT 2009
More information about the Python-list mailing list
Sat Sep 19 23:48:06 EDT 2009
- Previous message (by thread): urllib2, https and gzipped files
- Next message (by thread): How to get the minimum number that can be represented?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Suppose I want to define a function that return the minimum number that can be represented. def f(x): #body That it, if I call f(10), f will return the minimum integer that can be represented in the machine; if I cal f(10.5), f will return the minimum float that can be represented in the machine. Could somebody let me know what should be in the function body? Regards, Peng
- Previous message (by thread): urllib2, https and gzipped files
- Next message (by thread): How to get the minimum number that can be represented?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list