-/* $OpenBSD: bcode.c,v 1.57 2017/12/01 19:04:15 otto Exp $ */
+/* $OpenBSD: bcode.c,v 1.58 2017/12/02 12:43:18 otto Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
int bits;
if (BN_is_zero(n->number))
- return n->scale ? n->scale : 1;
+ return n->scale;
int_part = BN_new();
bn_checkp(int_part);
-.\" $OpenBSD: dc.1,v 1.32 2017/12/02 07:35:46 otto Exp $
+.\" $OpenBSD: dc.1,v 1.33 2017/12/02 12:43:18 otto Exp $
.\"
.\" Copyright (C) Caldera International Inc. 2001-2002.
.\" All rights reserved.
The length of a string is its number of characters.
The length of a number is its number of digits, not counting the minus sign
and decimal point.
+The length of a zero value is its scale.
.It Ic z
The stack level is pushed onto the stack.
.It Cm \&[ Ns ... Ns Cm \&]