How does ruby deal with extremely large numbers?
Answer / Rjeev Saxena
Ruby uses the BigDecimal class to handle very large numbers. The BigDecimal class provides arbitrary-precision decimal numbers, which can be useful for mathematical operations on large numbers or money calculations.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is ruby class?
Explain about garbage collection feature of ruby?
Describe the environment variables present in Ruby?
How is class methods defined in ruby?
how many ways you can create a concatenating string?
Tell us how would you implement hash in ruby internally?
Explain the difference between a single quote and double quote?
what is the difference between a single quote and double quote?
How to use ruby methods.
Please explain the role of thread pooling in relation to the thread lifecycle in ruby?
difference between activesupport's “hashwithindifferentaccess” and ruby's “hash”?
Explain ruby class.