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 #28398 is a reply to message #28348] Tue, 31 August 2010 15:49 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
kohait00 wrote on Mon, 30 August 2010 04:54

hey all,

Value implicit support is provided for bool, double, int, in64.
why not for float? int is supported in 2 precisions? so why not saying for float the same..

this would imply some extension of code i know, but what was the reason for leaving it out?


Nobody uses float. The only reason for using float is for compacting storage in specific cases. It is like int16.

There is no point for supporting everything in Value. Specially float you can always represent as double.


 
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: Tue Jun 11 21:31:02 CEST 2024

Total time taken to generate the page: 0.01827 seconds