Skip to main content

Calculate the results with doubles. They have 15 significant digits. Your rquirementrequirement has a hard upperboundupper bound on c of 10^8 - itc of 108 — it can have at most 8 digits. Hence, the result will be precise if it's in range, and it will not overflow otherwise.

Calculate the results with doubles. They have 15 significant digits. Your rquirement has a hard upperbound on c of 10^8 - it can have at most 8 digits. Hence, the result will be precise if it's in range, and it will not overflow otherwise.

Calculate the results with doubles. They have 15 significant digits. Your requirement has a hard upper bound on c of 108 — it can have at most 8 digits. Hence, the result will be precise if it's in range, and it will not overflow otherwise.

Source Link
MSalters
  • 181.6k
  • 11
  • 171
  • 375

Calculate the results with doubles. They have 15 significant digits. Your rquirement has a hard upperbound on c of 10^8 - it can have at most 8 digits. Hence, the result will be precise if it's in range, and it will not overflow otherwise.