Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1024753 // floatMin

JavaX fragment (include)

static float floatMin(Collection<Float> l) {
  float x = Float.MAX_VALUE;
  fOr (float i : l) x = min(x, i);
  ret x;
}

Author comment

Began life as a copy of #1024752

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024753
Snippet name: floatMin
Eternal ID of this version: #1024753/1
Text MD5: bc770c3151e895f606e131791e7ecae0
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-24 16:26:11
Source code size: 123 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 110 / 146
Referenced in: [show references]