diff options
author | Daniel Brooks <db48x@db48x.net> | 2023-11-05 01:03:37 -0700 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-01-27 16:42:47 +0200 |
commit | 77d9d05df87965409c537f49d59cb5ea632abda1 (patch) | |
tree | ca8bf7d7076b77fa33a271e56fe4b9b0112a1c77 /lisp/emacs-lisp/syntax.el | |
parent | 63a12ffbc37e46d2752b3903228fc8ec2c1fc611 (diff) | |
download | emacs-77d9d05df87965409c537f49d59cb5ea632abda1.tar.gz emacs-77d9d05df87965409c537f49d59cb5ea632abda1.tar.bz2 emacs-77d9d05df87965409c537f49d59cb5ea632abda1.zip |
Calc parses fractions written using U+2044 FRACTION SLASH
Fractions of the form 123⁄456 are handled as if written 123:456. Note
in particular the difference in behavior from U+2215 DIVISION SLASH
and U+002F SOLIDUS, which result in division rather than a rational
fraction.
* lisp/calc/calc-aent.el (math-read-replacement-list): Substitute a
colon for any fraction slash. (Bug#66944)
* test/lisp/calc/calc-tests.el (calc-frac-input): Test various
fraction types.
* etc/NEWS:
* doc/misc/calc.texi (Fractions): Mention fraction slash, precomposed
fractions.
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions