berkeley-softfloat-3 | SoftFloat release 3 - John R | Math library

 by   ucb-bar C Version: Current License: Non-SPDX

kandi X-RAY | berkeley-softfloat-3 Summary

kandi X-RAY | berkeley-softfloat-3 Summary

berkeley-softfloat-3 is a C library typically used in Utilities, Math applications. berkeley-softfloat-3 has no bugs, it has no vulnerabilities and it has low support. However berkeley-softfloat-3 has a Non-SPDX License. You can download it from GitHub.

SoftFloat release 3
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              berkeley-softfloat-3 has a low active ecosystem.
              It has 158 star(s) with 106 fork(s). There are 56 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 8 open issues and 4 have been closed. On average issues are closed in 232 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of berkeley-softfloat-3 is current.

            kandi-Quality Quality

              berkeley-softfloat-3 has no bugs reported.

            kandi-Security Security

              berkeley-softfloat-3 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              berkeley-softfloat-3 has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              berkeley-softfloat-3 releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of berkeley-softfloat-3
            Get all kandi verified functions for this library.

            berkeley-softfloat-3 Key Features

            No Key Features are available at this moment for berkeley-softfloat-3.

            berkeley-softfloat-3 Examples and Code Snippets

            No Code Snippets are available at this moment for berkeley-softfloat-3.

            Community Discussions

            QUESTION

            adding implicit bit during emulated IEEE-754 single precision multiplication
            Asked 2018-Dec-09 at 23:28

            I am trying to learn how single precision IEEE-754 multiplication works. In particular, I am looking at Berkley SoftFloat implementation - f32_mul.

            Just before the multiplication of significands is performed, the implicit bit is added to the significands of each multiplier respectively. The relevant part of code is below:

            ...

            ANSWER

            Answered 2018-Dec-08 at 21:32

            The shifts are crafted so as to have the product fitting on 63 bits available with signed integer arithmetic.

            You have sigA on 24 bits, that means sigA is bounded by sigA < 2^24.

            Same for sigB: sigB < 2^24.

            Thus the product sigA * sigB < 2^48, or in other words, you have a guaranty that it fits in 48 bits
            (it is at most (2^24-1)^2=2^48-2^25+1).
            Therefore, if you shift by 15 bits (8+7), you have a guaranty that the results fits on 63 bits

            Due to implied ones, you also have sigA >= 2^23 and sigB >= 2^23, thus sigA*sigB >= 2^46. IOW, it spans at least 47 bits.

            So by shifting by 15 bits, you are sure that the results fits either on 63 bits, or on 62 bits. It does not matter how many time you shift each significand, 15+0 or 1+14 would work equally well. But with a well balanced 8+7, each one still fit on 32 bits which is clever.

            In the next line, you see that the product is always adjusted to fit with most significant bit at position 63 (1-based):

            Source https://stackoverflow.com/questions/53686529

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install berkeley-softfloat-3

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ucb-bar/berkeley-softfloat-3.git

          • CLI

            gh repo clone ucb-bar/berkeley-softfloat-3

          • sshUrl

            git@github.com:ucb-bar/berkeley-softfloat-3.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link