help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] [bug] Float >> NaN in a dictionary


From: Gwenael Casaccio
Subject: [Help-smalltalk] [bug] Float >> NaN in a dictionary
Date: Fri, 12 Jun 2009 01:59:23 -0700

Issue status update for http://smalltalk.gnu.org/node/317 Post a follow up: http://smalltalk.gnu.org/project/comments/add/317

Project:      GNU Smalltalk
Version:      <none>
Component:    Base classes
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  MrGwen
Updated by:   MrGwen
Status:       active

Hi,

I cann add a Float >> NaN in a dictionary by the way multiple times (

st> p at: (FloatQ allInstances at: 3) put: 123
st> p at: (FloatQ allInstances at: 3) put: 123
st> p at: (FloatQ allInstances at: 3) put: 123
st> p
Dictionary (
      NaN->123
      NaN->123
      NaN->123
))

But when I try to acces to it, it failed :

Object: Dictionary new: 32 "<0x2b1783097a40>" error: Invalid argument
Inf: key not found
SystemExceptions.NotFound(Exception)>>signal
SystemExceptions.NotFound(Exception)>>signal:
SystemExceptions.NotFound class>>signalOn:what:
[] in Dictionary>>at:
Dictionary>>at:ifAbsent:
Dictionary>>at:
UndefinedObject>>executeStatements






reply via email to

[Prev in Thread] Current Thread [Next in Thread]