Hello,
Have you ever tried the function in object?
For negative integers it returns strange integers:
(1) -> parse_integer("-4")$ScanningUtilities
(1) - 26
Type: Integer
(2) -> parse_integer("4")$ScanningUtilities
(2) 4
Type: Integer
Apparently it is only used with 'ScanArabic' in outform.spad so it
does not have a lot of consequences. Grepping src/algebra:
src/algebra/outform.spad: ScanArabic s ==
qcoerce(parse_integer(s)$ScanningUtilities)
By the way, there exists the Lisp function parse-integer, although not
very satisfactory in the FriCAS sense.
It may not be what I have thought also.
- Greg
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/CAHnU2dZ6ELouJMR%2Bf76Y4Acm4WJ%3DfS_gGrVHv4r2U6qNjw-t6A%40mail.gmail.com.