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 #30259 is a reply to message #30255] Tue, 21 December 2010 08:20 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
generally you are right about that, we should aim to keep u++ core slim and not extend it for every purpose. i also agree that, having Value 'user-extensible', like you mentioned it in the 2-dimensional way would do a great deal, so everyone who really needs it and cant avoid converts, can extend it. my propose actually was exactly because IsNumber global functions could not be made float-aware in user way.

OTOH, we should not take the risk to spare out at wrong places. we are talking about intrinsic types, not about bloated class libraries. they are there and *are* still widely used as API, especially for embedded systems. compare it here to a screwdrivers set, where one size is missing. while one generally can spare out some other tools in a collection, there are some general things that *always* need to be there.
missing float *is* like a missing screwdriver.

and one more: design aspects for extension of upp should not only be concerned about not making code possibly bricked (this can be fixed) but also to think about 'what would be the logical, right and most usefull and most performant way'..

so, please, consider float again Smile
 
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 Aug 26 00:09:36 CEST 2025

Total time taken to generate the page: 0.05044 seconds