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

3
LINES

< > BotCompany Repo | #1033026 // shortToMinusOneToOne

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

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

static double shortToMinusOneToOne(short s) {
  ret s/32768.0;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033026
Snippet name: shortToMinusOneToOne
Eternal ID of this version: #1033026/1
Text MD5: c5ae1d9002f0592807794f70d401e830
Transpilation MD5: b1111d738165a424bedd3f0a2b6ff788
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-11 12:33:50
Source code size: 66 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 60 / 94
Referenced in: [show references]