Joshua Insel added the comment:
The same problem occurs with the log function from the C standard library,
which Python uses to implement its same-named function.
--
stage: -> resolved
status: open -> closed
___
Python tracker
New submission from Joshua Insel :
math.log(536870912, 2) should return 29.0, because 2^29 = 536870912. However,
it instead returns 29.004.
--
messages: 408986
nosy: joshinsel
priority: normal
severity: normal
status: open
title: math.log() returns improper output
type
Joshua Insel added the comment:
According to the documentation for pprint, it is supposed to print objects on a
single line if possible. See the second paragraph here:
https://docs.python.org/3/library/pprint.html
--
nosy: +joshinsel
___
Python