GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Sergey Shandar (functionalscript@techhub.social)'s status on Sunday, 12-Jan-2025 05:34:45 JSTSergey ShandarSergey Shandar

    #JavaScript is a weird language; it has hashtag#bigint, but it doesn't have a function that returns a number of bits in the bigint. Neither it has hashtag#log2 function for the bigints. If you need a workaround for the problem https://medium.com/@sergeyshandar/improving-the-log2-algorithm-for-bigint-in-javascript-7e5692e7bf0b?sk=9ac18367f61b524704cc8d82707aed3d

    In conversationabout 7 months ago from techhub.socialpermalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: miro.medium.com
      Improving the Log2 Algorithm for BigInt in JavaScript
      from https://medium.com/@sergeyshandar
      I usually use the bigint type in JavaScript and FunctionalScript as a vector of bits, and I often need to know how many bits are in a…
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.