Another function of this library is to allow code inspection tools (such as valgrind) to be smart and underreport some warnings. This library is mainly used to detect deadlocks. Chromde's V8 also implements FastDtoa for faster conversion between strings and floating point numbers. One of the reasons why Chrome uses this library is that Number in js is of double type, so the js engine must be able to handle floating point numbers correctly and quickly. If there is a problem of calling dtoa to enter an endless loop when porting the browser, you need to pay special attention to the macro definition when compiling the fp library. Gay is widely used, for example, Apple Libc. The more important functions implemented in this library are: strtod, dtoa, pow5mult, diff, cmp, lshift, etc. If the transplantation is not good, there may be a floating point operation error, or a very slow problem when performing floating point operation. This kind of library is very important when the program is transplanted to the embedded device. Gay's floating point routines homepageįp is a part of netlib, which is mainly used for floating-point arithmetic, binary and decimal conversion of numbers, and conversion between character strings and floating-point numbers. There was also an article introducing chrome open source project: Code Reuse in Google Chrome Browser, you can refer to it.ĭavid M. Enter about:credits in the chrome address bar to see the open source project used by chrome.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |