Re: [m-users.] How to convert float to uint64?

Julien Fischer <[email protected]>
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>
Hi,

On Tue, 17 Jan 2023, [email protected] wrote:

> While uint64 can be converted to float using float.cast_from_uint64/1 in Mercury, but I can not find a way to convert float to
> uint64.
> 
> Am I missing something?

No, the float -> unit64 conversion is not currently supported in the
stdandard library.

Julien.
_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.