mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 06:49:38 +02:00
* fixed bug in sprintf of extended
git-svn-id: trunk@2950 -
This commit is contained in:
parent
4db6e1ddb8
commit
4a6848269e
@ -93,7 +93,7 @@ begin
|
||||
|
||||
{$ifdef FPC_HAS_TYPE_EXTENDED}
|
||||
printf('Text containing long double: %Lf'+lineending,[e]);
|
||||
sprintf(p,'Text containing long double: %f'+lineending,[e]);
|
||||
sprintf(p,'Text containing long double: %Lf'+lineending,[e]);
|
||||
if strpos(p,'long double: 74.7')=nil then
|
||||
begin
|
||||
writeln('The output of sprintf for long double is wrong:',p);
|
||||
|
Loading…
Reference in New Issue
Block a user