Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #112010
| From | Lutz Horn <lutz.horn@posteo.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Float |
| Date | 2016-07-29 11:56 +0200 |
| Message-ID | <mailman.19.1469786213.6033.python-list@python.org> (permalink) |
| References | <da5a1bae-813f-4fef-a7b6-f67f258bcc85@googlegroups.com> <25fd0dbb-de4f-bfaf-cf4c-0d236df9c27d@posteo.de> |
Am 07/29/2016 um 11:44 AM schrieb Cai Gengyang: > Can someone explain in layman's terms what "float" means ? The Python builtin float[1] > Return a floating point number constructed from a number or string x. A floating point number[2] is number that is not an integer (and not a complex number). It > is the formulaic representation that approximates a real number since computers can't handle handle "real" real numbers which would require infinite precision. Examples are 1.0 3.14159 Lutz [1] https://docs.python.org/3/library/functions.html#float [2] https://en.wikipedia.org/wiki/Floating_point -- https://www.lhorn.de/ https://emailselfdefense.fsf.org/de/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Float Cai Gengyang <gengyangcai@gmail.com> - 2016-07-29 02:44 -0700
Re: Float Lutz Horn <lutz.horn@posteo.de> - 2016-07-29 11:56 +0200
Re: Float Ben Finney <ben+python@benfinney.id.au> - 2016-07-29 20:25 +1000
Re: Float Steven D'Aprano <steve@pearwood.info> - 2016-07-30 00:26 +1000
Re: Float Cai Gengyang <gengyangcai@gmail.com> - 2016-07-30 03:21 -0700
Re: Float Steven D'Aprano <steve@pearwood.info> - 2016-07-30 20:34 +1000
Re: Float Cai Gengyang <gengyangcai@gmail.com> - 2016-07-30 04:44 -0700
Re: Float Chris Angelico <rosuav@gmail.com> - 2016-07-30 21:51 +1000
Re: Float Rustom Mody <rustompmody@gmail.com> - 2016-07-30 20:20 -0700
Re: Float Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-08-04 00:28 -0700
Re: Float Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-07-30 12:03 -0400
Re: Float eryk sun <eryksun@gmail.com> - 2016-07-30 18:19 +0000
csiph-web