From: "cédric ody" <cedric.listes@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: floatp test in babel
Date: Tue, 29 Jan 2019 09:06:13 +0100 [thread overview]
Message-ID: <CA+DdpC2gTHdv04=XB5npy4nbsnO5fKdN65qErVM+VewTpVfOiA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 711 bytes --]
Hello,
I am trying to understand why the floatp lisp function does not seem to
detect exponential scientific notation in babel octave mode.
If I do
#+BEGIN_SRC emacs-lisp
(floatp 1e4)
#+END_SRC
#+RESULTS:
: t
whereas in the following table is converted into char due to the presence
of the third column.
#+RESULTS: variables
| 1 | 1 | 1e-05 |
#+HEADERS: :var a=variables
#+BEGIN_SRC octave :results output replace
whos a
#+END_SRC
#+RESULTS:
: Variables in the current scope:
: Attr Name Size Bytes Class
: ==== ==== ==== ===== =====
: a 1x7 7 char
:
Can we modify something so that exponential notation is supported?
Cédric
[-- Attachment #2: Type: text/html, Size: 2891 bytes --]
reply other threads:[~2019-01-29 8:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+DdpC2gTHdv04=XB5npy4nbsnO5fKdN65qErVM+VewTpVfOiA@mail.gmail.com' \
--to=cedric.listes@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.