Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Function 'FLOAT' undefined #481

Open
VitoVan opened this issue May 28, 2023 · 2 comments
Open

ERROR: Function 'FLOAT' undefined #481

VitoVan opened this issue May 28, 2023 · 2 comments

Comments

@VitoVan
Copy link
Contributor

VitoVan commented May 28, 2023

Welcome to JSCL (version 25e0341 built on 18 May 2023)

JSCL is a Common Lisp implementation on Javascript.
For more information, visit the project page at [GitHub](https://github.com/jscl-project/jscl).

CL-USER> (float (/ 2 3))
ERROR: Function 'FLOAT' undefined
CL-USER>
@VitoVan
Copy link
Contributor Author

VitoVan commented May 28, 2023

in SBCL:

* (/ 2 3)
2/3
*

in JSCL

Welcome to JSCL (version 25e0341 built on 18 May 2023)

JSCL is a Common Lisp implementation on Javascript.
For more information, visit the project page at [GitHub](https://github.com/jscl-project/jscl).

CL-USER> (/ 2 3)
0.6666666666666666
CL-USER>

it is already float, so...

I haven't double checked the spec.

@VitoVan
Copy link
Contributor Author

VitoVan commented May 28, 2023

related: #104

bigint on the way: #404

bignum on the way: https://github.com/jtobey/javascript-bignum

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

No branches or pull requests

1 participant