Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows-CPP-und-C ► ««« »»»

What is the difference between float and double?


There are significant differences between float and double, although both are floating point numbers !



The float value is a 32-bit number with floating point , the variable double is 64-bit or 80-bit long and therefore more precise.


double therefore has an extended precision that refers to floating point number formats that are more precise than the basic floating point formats of the variable float .

 
A little hint!

Although double is larger, there is no loss of speed! On the contrary, on most CPUs / FPUs , the program is faster when using double instead of float.

(Image-1) float and double?
What is the difference between float and double?

-
▲ Back to the top ▲


▲ Back to the top ▲


FAQ 10: Updated on: 16 April 2020 08:41 Windows
Windows-CPP-und-C

Reserve virtual memory C++, Windows?


The solution is very simple if you want to reserve virtual memory with C++ under Windows  Contents: 1. The program command to reserve virtual memory
Windows-CPP-und-C

Difference between IExtractImage2 and IExtractImage?


You want to implement IExtractImage or IExtractImage2 and register it as a Windows Shell extension Simply implement IExtractImage2, this is required to
Windows-CPP-und-C

How can I query whether my x86 application is currently running on x64?


IsWow64Process query under x64 MS OS whether the exe works in WOW64 mode typedef BOOL WINAPI * LPFN_ISWOW64PROCESS HANDLE, PBOOL; LPFN_ISWOW64PROCESS
Windows-CPP-und-C

How can I query whether a path is a folder or directory?


Querying whether a path is a folder or directory is quite simple in C ++  BOOL IsThePathFolderLPCTSTR pfad { ifpfadreturn FALSE; DWORD dwAttr = GetFileAttributespfad;
Windows-CPP-und-C

Trim string in cpp?


With your own trim string in cpp, simply shorten the strings individually ////////////////////////////////////////////////// ////////////////////// // //
Windows-CPP-und-C

Was with error code -1073741701 (0xc000007b)!


The solution is very simple to fix the error code: "was ended with code -1073741701 0xc000007b error message" Mostly there are errors in the * .manifest

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: windows, what, difference, between, float, double, there, significant, differences, although, both, floating, point, numbers, value, 32-bit, number, with, Questions, Answers, Software




    

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + DesktopNoteOK
  + ShortDoorNote
  + AutoHideDesktopIcons
  + BlankAndSecure
  + AlwaysMouseWheel
  + NewFileTime
  + DesktopClock3D
  + PointerStick
  + DesktopImages3D
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.077


► How to remove read-only or hidden file attribute vial cmd? ◄

► What kind of keys can I use to install / activate Windows 11? ◄

► Transparent glass (Aero) mouse balls for Windows!   ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....