All Projects → ThinkR-open → seven31

ThinkR-open / seven31

Licence: other
R 📦 for R FAQ 7.31

Programming Languages

r
7636 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to seven31

JetpackCompose.app
🚀 The best source on the interwebs for all things Jetpack Compose!
Stars: ✭ 72 (+94.59%)
Mutual labels:  faq
docs
General documentation for Pixels Camp
Stars: ✭ 31 (-16.22%)
Mutual labels:  faq
faq
Angular Library built with material design in order to provide a reusable faq (frequently asked questions) component for every project. Ask, Answer and List
Stars: ✭ 30 (-18.92%)
Mutual labels:  faq
help-site-template
A template to create a help site for an app, web service, or anything you need to direct users to.
Stars: ✭ 14 (-62.16%)
Mutual labels:  faq
abacus
📐 C# cross precision 3D maths library.
Stars: ✭ 35 (-5.41%)
Mutual labels:  double-precision
developercielo.github.io
Site de documentações, tutoriais e FAQ
Stars: ✭ 47 (+27.03%)
Mutual labels:  faq
FAQ
Unofficial Fedora FAQ in russian
Stars: ✭ 86 (+132.43%)
Mutual labels:  faq
Anyq
FAQ-based Question Answering System
Stars: ✭ 2,336 (+6213.51%)
Mutual labels:  faq
Go101
An online book focusing on Go syntax/semantics and runtime related things
Stars: ✭ 4,128 (+11056.76%)
Mutual labels:  faq
Bismuth-FAQ
[Reference] Official Bismuth Crypto-currency FAQs
Stars: ✭ 13 (-64.86%)
Mutual labels:  faq
cypress-faq
As perguntas mais frequentes sobre Cypress respondidas em PT-BR
Stars: ✭ 101 (+172.97%)
Mutual labels:  faq
wiki
Вики знания о проекте Голос
Stars: ✭ 18 (-51.35%)
Mutual labels:  faq
faq
收集整理在 Rust 众 https://t.me/rust_zh 的讨论中出现的一些常见疑问及其解答
Stars: ✭ 41 (+10.81%)
Mutual labels:  faq

R FAQ 7.31

is probably the most famous FAQ, so it deserves its own 📦 to help you 🕵️ the confusion of

0.3 + 0.6 == 0.9
#> [1] FALSE
sqrt(2)^2 == 2
#> [1] FALSE

This wikipedia article is a good introduction to the Double-precision floating-point format, but in short double (what we call numeric in R) are encoded in 64 bits:

  • the first bit is the sign bit
  • the 11 following bits are the exponent
  • the remaining 52 bits are the fraction

Installation

From github:

devtools::install_github( "ThinkR-open/seven31" )

Reveal the bits

reveal 🔍 the binary representation of numbers. It takes a variadic number of arguments and shows their representation. On a 🖍 compatible environment, you get a nice colored output:

Compare two numbers

compare shows the differences. On 🖍 compatible environments, the bits that differ between the two numbers are highlighted with 🔴 background.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].