|Anonymous | Login | Signup for a new account||2014-11-28 09:39 CET|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000083||OCaml||OCaml general||public||2000-04-17 19:45||2000-04-20 18:22|
|Target Version||Fixed in Version|
|Summary||0000083: float conversion and int64 (also int32)|
since it seems that the next release (3.00) won't be far in the future
(Changelog updated), I just wondered whether it is my oversight that I
can't find any other way to portably convert int64 (but also int32) to
floats other than by converting them to intermediate strings...
Markus Mottl, email@example.com, http://miss.wu-wien.ac.at/~mottl [^]
|Tags||No tags attached.|
> since it seems that the next release (3.00) won't be far in the future
> (Changelog updated), I just wondered whether it is my oversight that I
> can't find any other way to portably convert int64 (but also int32) to
> floats other than by converting them to intermediate strings...
That was an oversight. There are so many potentially useful
conversions that I forgot about floats. I just added to_float and
from_float conversions to the Int32, Int64 and Nativeint modules.
- Xavier Leroy
|Added missing conversions 2000-04-18. -Xavier|
|2005-11-18 10:13||administrator||New Issue|
|Copyright © 2000 - 2011 MantisBT Group|