Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0327-trunc-1-doc-add-example-illustrating-trunc...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0327-trunc-1-doc-add-example-illustrating-truncating-of-a.patch of Package erlang
From a98c5cd93fd773b290997868bd0b517352136d6c Mon Sep 17 00:00:00 2001 From: Kjell Winblad <kjellwinblad@gmail.com> Date: Tue, 22 Sep 2020 11:13:39 +0200 Subject: [PATCH 27/39] trunc/1 doc: add example illustrating truncating of a large float --- erts/doc/src/erlang.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 3a197b6344..c8b895be98 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -12007,6 +12007,9 @@ improper_end</pre> <pre> > <input>trunc(5).</input> 5</pre> + <pre> +> <input>trunc(36028797018963970.0).</input> +36028797018963968</pre> <p>Allowed in guard tests.</p> </desc> </func> -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor