Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Computer Programming/Mathematical calculations

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Simple Arithmetic Most any programming language can use addition, subtraction, multiplication, and division between Computer programming/Variables to put the results into new Variables. Watch out for risk of Divide by Zero, which can give serious indigestion to some programming languages. Date Math Many programming languages can calculate the number of days weeks months between two dates, provided the dates are defined using consistent Computer programming/Types. Higher Math Some programming languages can compute values using mathematics beyond simple arithmetic, such as Square Roots, Sine, Cosine, Logarithms, Imaginary Numbers. See also If you want to know more you should read the sister article Ada Programming/Mathematical calculations which is a lot more elaborate.