Ignore:
Timestamp:
02/06/05 02:47:32 (16 years ago)
Author:
piso
Message:

COMPLEX is a subtype of NUMBER.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/subtypep.lisp

    r8173 r8486  
    11;;; subtypep.lisp
    22;;;
    3 ;;; Copyright (C) 2003-2004 Peter Graves
    4 ;;; $Id: subtypep.lisp,v 1.53 2004-11-21 04:33:17 piso Exp $
     3;;; Copyright (C) 2003-2005 Peter Graves
     4;;; $Id: subtypep.lisp,v 1.54 2005-02-06 02:47:32 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    558558               (values (sub-interval-p i1 i2) t)
    559559               (values nil (known-type-p t2))))
     560          ((eq t1 'complex)
     561           (values (eq t2 'number) t))
    560562          ((and (eq t1 (find-class 'array)) (eq t2 'array))
    561563           (values (equal i2 '(* *)) t))
Note: See TracChangeset for help on using the changeset viewer.