The Sidef programming language
Ctrlk
  • Introduction
  • Preface
  • Getting Started
  • Sidef interpreter
  • Syntax and semantics
  • Programming tasks
    • 1
    • 2
    • 4
    • 9
    • A
    • B
    • C
      • Caesar cipher
      • Calculating the value of e
      • Calendar
      • Calendar - for REAL programmers
      • Calkin-Wilf sequence
      • Call a function
      • Call an object method
      • Cantor set
      • Carmichael 3 strong pseudoprimes
      • Carmichael lambda function
      • Cartesian product of two or more lists
      • Case-sensitivity of identifiers
      • Casting out nines
      • Catalan numbers
      • Catamorphism
      • Centroid of a set of N-dimensional points
      • Change e letters to i in words
      • Changeable words
      • Chaos game
      • Character codes
      • Chebyshev coefficients
      • Check Machin-like formulas
      • Check that file exists
      • Checksumcolor
      • Chernick's Carmichael numbers
      • Cheryl's birthday
      • Chinese remainder theorem
      • Chinese zodiac
      • Cholesky decomposition
      • Cipolla's algorithm
      • Circles of given radius through two points
      • Circular primes
      • Classes
      • Closest-pair problem
      • Closures
      • Collect and sort square numbers in ascending order from three lists
      • Collections
      • Color quantization
      • Color wheel
      • Colour bars
      • Colour pinstripe
      • Combinations
      • Combinations and permutations
      • Combinations with repetitions
      • Comma quibbling
      • Command-line arguments
      • Comments
      • Compare a list of strings
      • Compare sorting algorithms' performance
      • Compile-time calculation
      • Composite numbers k with no single digit factors whose factors are all substrings of k
      • Compound data type
      • Concatenate two primes is also prime
      • Concurrent computing
      • Conjugate transpose
      • Consecutive primes with ascending or descending differences
      • Constrained genericity
      • Constrained random points on a circle
      • Continued fraction
        • Arithmetic
          • Construct from rational number
      • Continued fraction convergents
      • Convert decimal number to rational
      • Convert seconds to compound duration
      • Convex hull
      • Conway's Game of Life
      • Coprime triplets
      • Coprimes
      • Copy a string
      • CORDIC
      • Count in factors
      • Count in octal
      • Count occurrences of a substring
      • Count the coins
      • Cousin primes
      • Cramer's rule
      • CRC-32
      • Create a file
      • Create a two-dimensional array at runtime
      • Create an HTML table
      • CSV data manipulation
      • CSV to HTML translation
      • Cuban primes
      • Cubic special primes
      • Cullen and Woodall numbers
      • Cumulative standard deviation
      • Currency
      • Currying
      • Curzon numbers
      • Cycle detection
      • Cyclops numbers
      • Cyclotomic polynomial
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U
    • V
    • W
    • X
    • Y
    • Z
  • The End
Powered by GitBook
On this page
  1. Programming tasks
  2. C
  3. Continued fraction

Arithmetic

Construct from rational number
PreviousContinued fractionNextConstruct from rational number

Last updated 5 years ago

Was this helpful?

Was this helpful?