chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #569: integer->char doesn't work right with negative


From: Chicken Trac
Subject: [Chicken-janitors] #569: integer->char doesn't work right with negative numbers
Date: Mon, 25 Apr 2011 04:14:11 -0000

#569: integer->char doesn't work right with negative numbers
----------------------------+-----------------------------------------------
 Reporter:  shawnw          |       Owner:       
     Type:  defect          |      Status:  new  
 Priority:  major           |   Milestone:  4.7.0
Component:  core libraries  |     Version:  4.6.x
 Keywords:                  |  
----------------------------+-----------------------------------------------
 (integer->char -1) => #\U1fffff but (char->integer #\U1fffff) => 2097151

 Found this when trying to make a non-blocking ncurses app: getch and
 friends return -1 when there's no ready input.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/569>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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