Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#Import math Library import math #Return mantissa and exponent of a given number print(math.frexp(4)) print(math.frexp(-4)) print(math.frexp(7))
(0.5, 3)
(-0.5, 3)
(0.875, 3)