Skip to content

GitHub/pull/735/fix typep for real and number#736

Merged
easye merged 2 commits intoarmedbear:masterfrom
easye:github/pull/735/fix-typep-for-real-and-number
Mar 11, 2026
Merged

GitHub/pull/735/fix typep for real and number#736
easye merged 2 commits intoarmedbear:masterfrom
easye:github/pull/735/fix-typep-for-real-and-number

Conversation

@easye
Copy link
Copy Markdown
Collaborator

@easye easye commented Mar 10, 2026

No description provided.

evenson and others added 2 commits March 11, 2026 01:32
(Didier Verna)

This fixes the following problems:

(typep 1.0 'number) -> T but (typep 1.0 (find-class 'number) -> NIL
(typep 1.0 'real)   -> T but (typep 1.0 (find-class 'read)   -> NIL

2026-03-05  Didier Verna  <didier@didierverna.net>

	* src/org/armedbear/lisp/SingleFloat.java (typep): Fast-check the
	type specifier against the REAL and NUMBER built-in classes; not
	only the symbols.

c.f. <armedbear#735>
@easye easye merged commit 05816e4 into armedbear:master Mar 11, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants