This language bar is your friend. Select your favorite languages!
fgl
type
  TFloatList = specialize TFPGList<Double>;
var
  List: TFloatList;
  D: Double;

begin
  List := TFloatList.Create;
  while not Eof do
  begin
    Read(D);
    List.Add(D);
  end;
  List.Free;
end.
list(map(int, input().split())
STDIN.read.split.map(&:to_i)

Do you know the best way to do this in your language ?
New implementation...

Idiom created by

psqq