Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Post History

86%
+11 −0
Challenges Can you give me half?

Challenge idea taken from: Eliseo D'Annunzio Task Provide code that evaluates to 0.5 numerically, i.e. the output must be recognized by your chosen language as a numeric value (Number, float, dou...

23 answers  ·  posted 3y ago by Razetime‭  ·  last activity 1y ago by RubenVerg‭

#2: Post edited by user avatar Moshi‭ · 2022-02-09T12:12:27Z (almost 3 years ago)
Added scoring tag (for the leaderboard)
Can you give me half?
**Challenge idea taken from:** [Eliseo D'Annunzio](https://codegolf.stackexchange.com/questions/230111/can-you-give-me-half-no-digits)

# Task 
Provide code that evaluates to 0.5 numerically, i.e. the output must be recognized by your chosen language as a numeric value (Number, float, double, etc), not as a string. 

The catch, the characters 0 through to 9 cannot be used.

One example that fits the brief would be the following:

`((++[[]][[~~""]]<<++[[]][[~~""]]))**((--[[]][[~~""]]))` which works out to 0.5 in JavaScript.


# Scoring
This is a code challenge, where scoring is done in terms of number of unique characters used in the submission. Ties are broken by lowest bytecount.
#1: Initial revision by user avatar Razetime‭ · 2022-02-09T11:26:37Z (almost 3 years ago)
Can you give me half?
**Challenge idea taken from:** [Eliseo D'Annunzio](https://codegolf.stackexchange.com/questions/230111/can-you-give-me-half-no-digits)

# Task 
Provide code that evaluates to 0.5 numerically, i.e. the output must be recognized by your chosen language as a numeric value (Number, float, double, etc), not as a string. 

The catch, the characters 0 through to 9 cannot be used.

One example that fits the brief would be the following:

`((++[[]][[~~""]]<<++[[]][[~~""]]))**((--[[]][[~~""]]))` which works out to 0.5 in JavaScript.


# Scoring
This is a code challenge, where scoring is done in terms of number of unique characters used in the submission. Ties are broken by lowest bytecount.