python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to create a variable that contains an Operator in Java?
I'm trying to write a program in 30 lines or less for my class (self imposed challenge).
The program asks the user a simple addition, division, multiplication, or subtraction question and the player a...
SirDuke
Votes: 0
Answers: 3
What is the optimum precision to use in an arithmetic encoder?
I've implemented an arithmetic coder here - https://github.com/danieleades/arithmetic-coding
i'm struggling to understand a general way to choose an optimal number of bits for representing integers wi...
danieleades
Votes: 0
Answers: 0
Float function does not return float value
I have programmed two simple functions. I want the user to write a integer value and the program finds the outputs from these two functions. Here's how the code looks like,
#include <stdio.h>
f...
göktuğ
Votes: 0
Answers: 2
Multiply every element of an array by the same scalar in zsh
I would like to multiply every element in an array in zsh by the same scalar. I would be able to do this very easily in Python, but have looked in many places and cannot figure out how to do it in a z...
seeker_after_truth
Votes: 0
Answers: 2