Skip to content
Tcl Source Code Update of ”numeric Object Types”
Login

Update of ”numeric Object Types”

Overview

Artifact ID: 0d25cec79d27eaf1e7c40cdc9e05579485f53a3e
Page Name:numeric Object Types
Date: 2014-09-15 03:01:34
Original User: dgp
Parent: 3891e6d1783eee56ac0ebfe983f147cef169ff69 (diff)
Next fd8141f6dcd099afa561b533444eb94c1520ba77
Content

Source Files

Public Routines

Private Routines

Directly Depends On Public Routines From

Directly Depends On Private Routines From

Discussion

Depends on Tcl_PrintDouble and TclFormatInt which ought to just be here, or in Numbers.

The TclGetNumberFromObj or some other scheme for similar function would be useful public.

Probably worth raising the question as to what degree the notion of a "wide integer" is a historical detour, and if there are other ways to get at integral types of different sizes that might be easier to use looking ahead.

Generating the string rep of a bignum scales very very very very badly. For large enough values we can expect decimal string rep generation to take years.