Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Value: why not float support?
Re: Value: why not float support? [message #28401 is a reply to message #28400] Tue, 31 August 2010 18:49 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
kohait00 wrote on Tue, 31 August 2010 10:11

thats right. but thinking of porting upp to embedded world, float is more common there than double (size, less cycles). on x86 world, it has no point. double is calculated just (almost) as fast as double (or am i wrong here?) but think of porting to android Smile



Are you aware that C/C++ always performs all FP arithmetics in double precision by standard definition?

float really is only about storage.

(OTOH, nothing prevents C/C++ implementation to use 32-bit doubles).

Quote:


btw: related.
the unsigned things are not needed that much. but how is that one, i.e. parsing from string, (ScanInt) to an unsigned long? could it be done with it?


No. But you still have stou / stou64...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Core/Path.cpp: the limitation of GetCurrentDirectory for POSIX
Next Topic: InitCaps() proposal
Goto Forum:
  


Current Time: Sun Jul 06 11:20:26 CEST 2025

Total time taken to generate the page: 0.03995 seconds