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

3
LINES

< > BotCompany Repo | #1016923 // ptLengthSquared

JavaX fragment (include)

static double ptLengthSquared(Pt p) {
  ret p.x*p.x+p.y*p.y;
}

Author comment

Began life as a copy of #1016921

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016923
Snippet name: ptLengthSquared
Eternal ID of this version: #1016923/1
Text MD5: b0a885fe4631110d00c57af08f905246
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-08 00:40:28
Source code size: 64 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 298 / 328
Referenced in: [show references]