Home > Press Release > Sophia Cradle Unveils Scientific Calculator for BREW as Open Source

Press Release

Sophia Cradle Unveils Scientific Calculator for BREW as Open Source

Supports math functions that BREW does not support, source codes in the level of commercial applications


KYOTO — March 08, 2006 — Sophia Cradle Incorporated (Headquarter: Kyoto; CEO: Kazunori Sugiyama), an innovative developer of mobile phone software, today announced to unveil its scientific calculator BREW [*1] application "psec" as a part of presentation for the 5th International Keitai Forum on March 15 and 16 in Kyoto. Besides a support for math functions that BREW does not support, users can type and view formulas on the "psec" user interface. Source codes will be available at the Sophia Cradle website from April 1, 2006.

Full Story

There are no trigonometric functions or exponential functions in BREW. However, applications that include encryption, biometric authentication, or predicting stock prices cannot be developed without using those functions.

In December 2004, Sophia Cradle released a software technology that enables developers to use math functions on BREW handsets. For details, please see Reference Websites below.

Sophia Cradle applied this technology to create "psec", a scientific calculator BREW application that shows numerical formulas on screen. Developers can refer to the source codes to know how to use math functions in the development of an application.

"psec" is not just a demo application. In practice, it especially benefits science students and programmers. For example, it can be used to calculate high-level numerical formulas and to convert numbers from decimal to binary because you can type and view formulas on screen in a sophisticated and user-friendly interface, as if you are using a commercial application.

Main Features of "psec"

  1. Integer mode and real number mode
  2. Conversion of numbers — e.g. decimal to binary conversion
  3. Input of formulas — e.g. 3 sin(60) + 5 cos(30) * tan(45) + 0.5

Pricing and Availability
Sophia Cradle will demonstrate "psec" at the 5th International Keitai Forum that will be held at Kyoto Pulse Plaza on March 15 and 16. Starting from April 1, 2006, "psec" and its source codes will be provided for free as a sample application of SophiaFramework [*2], a BREW application development environment in C++, developed by Sophia Cradle.


Reference Websites

Press Release URL:

The 5th International Keitai Forum:

Source codes of "psec" is available at:

How to use floating point operation on BREW (Updated on December 17, 2004):

User Interface of "psec"

Calculating 3 sin(60) + 5 cos(30) * tan(45) + 0.5

Calculating 3 sin(60) + 5 cos(30) * tan(45) + 0.5

Supported Math Functions

Mode Math Function Operator
Integer addition, subtraction, product, division, remainder +, -, *, /, mod
bitwise not not
bitwise and and
bitwise or ior
bitwise exclusive or xor
Real Number addition, subtraction, product, division, remainder +, -, *, /, mod
random number ran#
integer part (of) int, fix
decimal part (of) frac
absolute value abs
permutation, combination nPr, nCr
factorial, double factorial x!, x!!
power pow, x^y
square root sqrt
cube root cbrt
exponential exp
common logarithm, natural logarithm log, ln
gamma function gamma
Bessel functions of n th order jn, yn
trigonometric function sin, cos, tan
inverse trigonometric function asin, acos, atan
hyperbolic function sinh, cosh, tanh
inverse hyperbolic function asinh, acosh, atanh


[*1] BREW (Binary Runtime Environment for Wireless)

The standard of mobile phone software developed by QUALCOMM Incorporated, released in January 2001. BREW applications work fast no matter what the underlying system software in the handset is. A user can download a compiled BREW application from the Internet and use it with any BREW-enabled handset. The worldwide spread of BREW is so remarkable that there are currently 62 network operators in 29 countries (as of March 2006) that provide BREW services, including Japan's KDDI that started offering it in February 2003.

[*2] SophiaFramework

An object-oriented development environment for BREW applications released by Sophia Cradle Incorporated in August 2002. It includes various program modules called classes that are needed to develop any kind of BREW applications, such as user interface, communication, graphic drawing and string processing. The technology of SophiaFramework is now being used in many of the business BREW applications and official KDDI applications that are top-sellers in Japan.

More about SophiaFramework: /english/products/sophiaframework/

About Sophia Cradle

Sophia Cradle Incorporated is a mobile phone software developer which currently specializes in BREW C++, GUI middleware and mobile Java. Founded in 2002, Sophia Cradle aims to render services to the improvement of everyone's quality of life by creating innovative mobile Internet technology. For more information about Sophia Cradle, please visit www.s-cradle.com/english/.

Press Contact
Natsuko Hasegawa
Marketing Center, Sophia Cradle Incorporated
Tel. +81-75-754-5155   Fax. +81-75-754-5156