Project

General

Profile

Anomalie #37

numeric_limits doit mourir

Added by Serge Koudoro over 15 years ago. Updated about 13 years ago.

Status:
Nouveau
Priority:
Bas
Assignee:
-
Category:
old plone Bugs
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Description:
----------------------------------------
Thibauld a trouvé un "bug", ou disons plutôt un comportement pathologique de
std::numeric_limits. Explications et solution sur
http://www.boost.org/libs/numeric/conversion/doc/bounds.html

#3 12/11/2007 10:26 (Tibs)
---------------------------------------------------------------------------
Change: status: "pending" -> "defered"
Comment:
Problème ouvert même si je crois qu'on est pas loin d'avoir éliminé la bête dans
le coeur de Morph-M.

#2 25/10/2005 20:12 (Thomas)
---------------------------------------------------------------------------
Change: solution: "Remplacer std::numeric_limits par boost::bounds partout dans le code, surtout pour les flottants." -> "Remplacer std::numeric_limits par boost::bounds partout dans le code, surtout pour les flottants.

Attention pour les non flottant je viens de perdre pas mal de temps sur ca
boost::numeric::bounds<UINT32>::smallest()=1
alors std::min=0

Bref ca peut vous planter plein d'initialisation

A vérifier au cas par cas
"

#1 25/10/2005 16:36 (romain)
---------------------------------------------------------------------------
Change: topic: "" -> "C++"
Change: solution: "" -> "Remplacer std::numeric_limits par boost::bounds partout dans le code, surtout pour les flottants."
Change: importance: "medium" -> "high"
Change: title: "" -> "numeric_limits doit mourir"
Change: description: "" -> "Thibauld a trouvé un "bug", ou disons plutôt un comportement pathologique de std::numeric_limits. Explications et solution sur http://www.boost.org/libs/numeric/conversion/doc/bounds.html
"

#1

Updated by Serge Koudoro over 15 years ago

  • Category set to old plone Bugs
#2

Updated by Serge Koudoro about 13 years ago

  • Priority changed from Normal to Bas

Also available in: Atom PDF