home.social

#arithmetics — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #arithmetics, aggregated by home.social.

  1. Ever wondered about #arithmetics in #JavaScript?

    "For the most part, Javascript #numbers are double-precision floating point, so need to be treated the same as you would floating point numbers in any other language.

    However, Javascript also provides bitwise and #shift operations, which first convert the operands to 32-bit #signed 2s-complement values. This can have #surprising consequences when either the input or result has a magnitude of more than 231."

    accu.org/journals/overload/23/

  2. Ever wondered about #arithmetics in #JavaScript?

    "For the most part, Javascript #numbers are double-precision floating point, so need to be treated the same as you would floating point numbers in any other language.

    However, Javascript also provides bitwise and #shift operations, which first convert the operands to 32-bit #signed 2s-complement values. This can have #surprising consequences when either the input or result has a magnitude of more than 231."

    accu.org/journals/overload/23/

  3. Ever wondered about #arithmetics in #JavaScript?

    "For the most part, Javascript #numbers are double-precision floating point, so need to be treated the same as you would floating point numbers in any other language.

    However, Javascript also provides bitwise and #shift operations, which first convert the operands to 32-bit #signed 2s-complement values. This can have #surprising consequences when either the input or result has a magnitude of more than 231."

    accu.org/journals/overload/23/

  4. Ever wondered about #arithmetics in #JavaScript?

    "For the most part, Javascript #numbers are double-precision floating point, so need to be treated the same as you would floating point numbers in any other language.

    However, Javascript also provides bitwise and #shift operations, which first convert the operands to 32-bit #signed 2s-complement values. This can have #surprising consequences when either the input or result has a magnitude of more than 231."

    accu.org/journals/overload/23/

  5. re-reading @neauoire

    Arithmetics is the study of numbers, especially the properties of the traditional operations on them

    wiki.xxiivv.com/site/arithmeti

    #mathematics #arithmetics #wiki