onlycode.org

javascript
jquery
html
angularjs
css
node.js
ajax
html5
php
json
arrays
google-chrome
dom
regex
reactjs
ecmascript-6
javascript-events

your's history:
can mathematical operato...

# Can mathematical operators *, /, +, -, ^ be used to convert a non-zero number to 1, just only code?

siebel | javascript

 edit ``` Step Explanation ------- ------------------------------------------------------------------------------- n/n^0 Original expression. 1^0 Any number divided by itself equals 1. Therefore n/n becomes 1. 1 1 xor 0 equals 1. `````` Step Explanation ------- ------------------------------------------------------------------------------- n/n^0 Original expression. 0/0^0 Since n is 0, n/n is 0/0. NaN^0 Zero divided by zero is mathematically undefined. Therefore 0/0 becomes NaN. 0^0 In JavaScript, before any bitwise operation occurs, both operands are normalized. This means NaN becomes 0. 0 0 xor 0 equals 0. ``` 27 edit ```c/c^c-c ``` 26 Add your just only code

your name:

If you need full text click here

Some similar links Can mathematical operators *, /, +, -, ^ be used to convert a non-zero number to 1? ↓:
Convert a decimal number to a fraction / rational number

How do I convert a float number to a whole number in JavaScript?

Do the && and || operators convert their operands to booleans?

if statement with variable mathematical operator [duplicate]

This project is created for those who just need only code, wihout maaaaaaaaaaany words.