double

double

Return to CPP double keyword


Creating an exhaustive list of 30 programming languages that support the reserved word `double` (used for declaring double-precision floating-point numbers) is challenging due to the specificity of the request. However, I can list several prominent programming languages that use `double` or an equivalent concept, along with their official documentation and Wikipedia links where applicable. It's worth noting that not all programming languages might use the exact keyword `double` to denote a double-precision floating-point number, but the concept is widely supported across programming languages for numerical computations requiring high precision.

  1. C - Official documentation: C Reference at cppreference.com, Wikipedia: Wikipedia Article
  2. C++ - Official documentation: C++ Reference at cppreference.com, Wikipedia: Wikipedia Article
  3. Java - Official documentation: Java Tutorials, Wikipedia: Wikipedia Article
  4. C - Official documentation: C# Documentation at Microsoft Docs, Wikipedia: Wikipedia Article
  5. Swift - Official documentation: Swift Documentation, Wikipedia: Wikipedia Article
  6. Go - Official documentation: Go Specification, Wikipedia: Wikipedia Article
  7. Rust - Official documentation: Rust Programming Language Book, Wikipedia: Wikipedia Article
  8. Dart - Official documentation: Dart Language Tour, Wikipedia: Wikipedia Article
  9. Kotlin - Official documentation: Kotlin Documentation, Wikipedia: Wikipedia Article
  10. TypeScript - Official documentation: TypeScript Handbook, Wikipedia: Wikipedia Article (Note: Inherits JavaScript's Number type, which is a double-precision float.)
  11. JavaScript - Official documentation: MDN Web Docs, Wikipedia: Wikipedia Article (Note: Only has one number type, which is a double-precision float.)
  12. PHP - Official documentation: PHP Manual, Wikipedia: Wikipedia Article (Note: Does not have a specific `double` type, but floating point numbers are of double precision.)
  13. Fortran - Official documentation: GNU Fortran Documentation, Wikipedia: Wikipedia Article (Note: Uses `DOUBLE PRECISION` keyword.)
  14. MATLAB - Official documentation: MATLAB Documentation at MathWorks, Wikipedia: Wikipedia Article
  15. Julia - Official documentation: Julia Documentation, Wikipedia: Wikipedia Article
  16. Objective-C - Official documentation: Objective-C at Apple Developer, Wikipedia: Wikipedia Article
  17. Scala - Official documentation: Scala Documentation, Wikipedia: Wikipedia Article
  18. Haskell - Official documentation: Haskell Tutorial, Wikipedia: Wikipedia Article
  19. Lua - Official documentation: Lua Reference Manual , Wikipedia: Wikipedia Article (Note: Uses doubles for all numbers in most implementations.)
  20. Perl - Official documentation: Perl Number Documentation, Wikipedia: Wikipedia Article (Note: Does not have a `double` keyword, but supports double-precision floating-point numbers.)

```

This list includes programming languages that support double-precision floating-point numbers directly through the `double` keyword or an equivalent concept, demonstrating the importance of this data type in numerical computing across a wide range of programming environments. The exact implementation details and precision can vary, so consulting the official documentation is recommended for specific applications and understanding the nuances of each language's number system.

https://en.cppreference.com/w/cpp/keyword/double

double.txt · Last modified: 2024/05/01 03:52 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki