Translations:Extension:Scribunto/Lua reference manual/339/en

From testwiki
Jump to navigation Jump to search

Returns two values m and e such that:

  • If x is finite and non-zero: x=m×2e, e is an integer, and the absolute value of m is in the range [0.5,1)
  • If x is zero: m and e are 0
  • If x is NaN or infinite: m is x and e is not specified