Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Other Languages
»
Russian
»
Неверно работает FormatFloat в Astra Linux
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Demoscene The Champs Crac...
by
Gigatron
[
Today
at 11:03:40 pm]
Poll: Watches and Display...
by
440bx
[
Today
at 10:55:14 pm]
Database standards OR Am ...
by
dseligo
[
Today
at 10:50:26 pm]
what to do if my target M...
by
Key-Real
[
Today
at 10:48:29 pm]
BUG REPORT: Unable to gen...
by
PascalDragon
[
Today
at 10:24:23 pm]
How to: create DLL file f...
by
paule32
[
Today
at 10:23:59 pm]
Have anyone develop UEFI ...
by
PascalDragon
[
Today
at 10:14:15 pm]
Lazarus for Windows on aa...
by
PascalDragon
[
Today
at 10:09:10 pm]
The weird Rewrite bug
by
PascalDragon
[
Today
at 09:58:53 pm]
Assign (textfile) not com...
by
PascalDragon
[
Today
at 09:51:50 pm]
Question for people who h...
by
PascalDragon
[
Today
at 09:44:32 pm]
Converting a string/index...
by
1HuntnMan
[
Today
at 08:48:12 pm]
Linux Workspaces -- StayO...
by
AmatCoder
[
Today
at 08:34:20 pm]
I just released a commerc...
by
Seenkao
[
Today
at 07:57:21 pm]
Access violation when re-...
by
TRon
[
Today
at 07:37:31 pm]
[SOLVED] assembler name i...
by
TRon
[
Today
at 07:26:33 pm]
A fairly simple sound sol...
by
KodeZwerg
[
Today
at 07:01:52 pm]
Step-into the field sette...
by
Martin_fr
[
Today
at 06:54:19 pm]
[Fun Fact] PNG and Micros...
by
Ten_Mile_Hike
[
Today
at 06:24:19 pm]
HTTP/2+HTTP/1.1+WebSocket...
by
iLya2IK
[
Today
at 06:14:30 pm]
Improvement of TFPTimerTh...
by
AlexTP
[
Today
at 05:56:38 pm]
Arabic text, problem on L...
by
nouzi
[
Today
at 05:21:27 pm]
WKWebView takeSnapshot
by
MISV
[
Today
at 04:53:41 pm]
Slow copying of small str...
by
Nitorami
[
Today
at 04:41:52 pm]
location of non visual co...
by
gerardus
[
Today
at 04:16:44 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Неверно работает FormatFloat в Astra Linux (Read 4878 times)
Ivandur
Newbie
Posts: 1
Неверно работает FormatFloat в Astra Linux
«
on:
June 10, 2021, 05:47:47 pm »
Когда выполняется FormatFloat('0.00000e+00',AllData.times[0,i],fs), в случае с отрицательным значением порядка вместо нуля выдаётся минус. Например: 2.4345374e--1.
В Lazarus для Windows такого не наблюдается.
Logged
AlexTP
Hero Member
Posts: 2402
Re: Неверно работает FormatFloat в Astra Linux
«
Reply #1 on:
June 10, 2021, 08:00:04 pm »
Нет повтора на Линуксе
Lazarus 2.1.0 r65188 FPC 3.2.1 x86_64-linux-gtk2
Caption:= FormatFloat('0.00000e+00', 2.4345374e-1);
показывает нормальный ответ.
Logged
CudaText editor
-
ATSynEdit
-
More from me
AlexTP
Hero Member
Posts: 2402
Re: Неверно работает FormatFloat в Astra Linux
«
Reply #2 on:
June 10, 2021, 08:01:29 pm »
Укажете версию FPC, это она влияет а не Лазарус.
Logged
CudaText editor
-
ATSynEdit
-
More from me
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Other Languages
»
Russian
»
Неверно работает FormatFloat в Astra Linux
TinyPortal
© 2005-2018