diff options
author | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 2001-09-22 21:39:42 +0000 |
---|---|---|
committer | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 2001-09-22 21:39:42 +0000 |
commit | 5437598b36938332d3a0813b4311ec7f700a8db7 (patch) | |
tree | d63d0ad85beb0a87403a40cc7035e946200dfffa /NEWS | |
parent | b21cccf315b4a20d19ac064d5b4b98921e57f108 (diff) | |
download | guile-5437598b36938332d3a0813b4311ec7f700a8db7.tar.gz |
* Makefile.am: Distribute num2float.i.c.
* num2float.i.c: New file, multiply included by numbers.c, used
to "templatize" the float <-> num conversion routines.
* numbers.c: New functions: scm_num2float, scm_float2num,
scm_num2double, scm_double2num.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1208,6 +1208,12 @@ These are conversion functions between the various ANSI C integral types and Scheme numbers. NOTE: The scm_num2xxx functions don't accept an inexact argument. +** New functions: scm_float2num, scm_double2num, + scm_num2float, scm_num2double. + +These are conversion functions between the two ANSI C float types and +Scheme numbers. + ** New number validation macros: SCM_NUM2{SIZE,PTRDIFF,SHORT,USHORT,INT,UINT}[_DEF] |