About 109,000 results
Open links in new tab
  1. c - Printf a double - Stack Overflow

    Jul 3, 2022 · Type double has the equivalent of about 16 decimal digit's worth of precision (actually it's more complicated than that), so it definitely can't represent all 18 digits of that …

  2. Are there infinitely many primes of the form

    Oct 4, 2016 · Related to this question, What is the smallest prime number made of sequential number? are there infinitely many primes of the following form (OEIS A057137)? $1, 12, 123, …

  3. What is the shortest way to write the number $1234567890$?

    Here's a challenge : find the shortest way to write the number $1234567890$ . There is several ways to write the number $1234567890$ : $1.23456789 × 10^9$ $2×3^2×5×3607×3803$ …

  4. Create a regular expression to match big numbers - Stack Overflow

    Oct 27, 2023 · I get a response from the backend as text in which I have to find a match for numbers which is minimum 16 digits in length. Let's say I have data something like this: …

  5. How does addition/subtraction of float numbers work in Python?

    Nov 5, 2011 · I don't understand what is going on in the following lines of code: >>> 123456789012345678. -123456789012345677. 0.0 Shouldn't the result be 1.0? Thanks. …

  6. pandas - Python Dataframe - Create a new column with value …

    May 15, 2019 · 0 123456789012345678 1 3456789012345678 I would like to create a new column is_valid such that if the length of ID value is 18 then true else false that is, the …

  7. php - How to match " (" and ")" parenthesis characters in a regular ...

    I am very new to regex expression. I want to validate a number like this : 123456789012345678 (123) I know how to match the first 18 digits for number, but don't know how to allow next ( …

  8. How to store exact decimal number without any rounding in python

    I have a number -123456789012345678.879 that is parsed from a json file and stored in a dict. In the dict it shows as -1.23456789012e+17 I want to get back the original full decimal number …

  9. C++ gcc large number errors - Stack Overflow

    Aug 5, 2015 · 2 You need to make sure it is double: 123456789012345678 // integer, give warning 123456789012345678.0 // double (floating point) If you need extra precision, you …

  10. Comparing large numbers with javascript - Stack Overflow

    Internally all javascript numbers are represented as double-precision floating point numbers. As you've discovered, this causes some rounding errors for very large numbers (and in other …