BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000768 [uClibc++] Other feature always 03-04-06 11:15 06-25-06 15:33
Reporter dcas View Status public  
Assigned To gkajmowi
Priority normal Resolution open  
Status confirmed   Product Version 0.2.0
Summary 0000768: uClibc++ does not provide <limits>
Description uClibc++ does not provide an implementation of the <limits> include file. The <limits> include file should define the std::numeric_limits type.
Additional Information HP's user documentation has a good description of numeric_limits.

http://h30097.www3.hp.com/cplus/numeric_limits_3c__std.htm [^]

I have attached a patch of a very crude implementation. It only specializes the template for type double. It is based on HP's documentation and the implementation that is distributed with gcc.
Attached Files  limits.patch [^] (4,443 bytes) 03-04-06 11:15

- Relationships

- Notes
(0001447)
gkajmowi
06-25-06 15:33

Version 0.2.1 will contain a preliminary <limits>. Unfortunately, I do not know how to properly implement a better one. The implementation you attached depended upon values internal to GCC or libstdC++ - I could not get it to build. I put in as much as possible, but there is no guarantee that what I put in will be useful and not counterproductive;.
 

- Issue History
Date Modified Username Field Change
03-04-06 11:15 dcas New Issue
03-04-06 11:15 dcas Status new => assigned
03-04-06 11:15 dcas Assigned To  => gkajmowi
03-04-06 11:15 dcas File Added: limits.patch
06-25-06 15:33 gkajmowi Note Added: 0001447
06-25-06 15:33 gkajmowi Status assigned => confirmed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker