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

3
LINES

< > BotCompany Repo | #1032074 // nthRoot

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (28L/1K).

static double nthRoot(int n, double x) {
  ret Math.pow(x, 1.0/n);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032074
Snippet name: nthRoot
Eternal ID of this version: #1032074/1
Text MD5: 399a495bccdfb9817f6e7d75d258873d
Transpilation MD5: 289efb070e35a1140c9e15c72cd99123
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-11 11:53:59
Source code size: 70 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 101 / 164
Referenced in: [show references]